irongit

feat(hypr): default terminal is foot

huncholanehuncholaneauthored
parent d7fe97fcommit 9198a4de5eac2f6beb91398e24eff6dc24d6a280Browse files

9 files changed, +209 -219

+4-1btop/btop.conf
@@ -1,4 +1,4 @@
1-#? Config file for btop v. 1.4.4
1+#? Config file for btop v. 1.4.5
22
33 #* Name of a btop++/bpytop/bashtop formatted ".theme" file, "Default" and "TTY" for builtin themes.
44 #* Themes should be placed in "../share/btop/themes" relative to binary or "$HOME/.config/btop/themes"
@@ -115,6 +115,9 @@ cpu_bottom = False
115115 #* Shows the system uptime in the CPU box.
116116 show_uptime = True
117117
118+#* Shows the CPU package current power consumption in watts. Requires running `make setcap` or `make setuid` or running with sudo.
119+show_cpu_watts = True
120+
118121 #* Show cpu temperature.
119122 check_temp = True
120123
+2-2hypr/UserConfigs/UserKeybinds.conf
@@ -8,7 +8,7 @@
88 # /* ---- ✴️ Variables ✴️ ---- */ #
99 $mainMod = SUPER
1010 $files = nautilus
11-$term = alacritty
11+$term = foot
1212 $scriptsDir = $HOME/.config/hypr/scripts
1313 $UserScripts = $HOME/.config/hypr/UserScripts
1414
@@ -25,7 +25,7 @@ bind = $mainMod SHIFT, k, swapwindow, u
2525 bind = $mainMod SHIFT, l, swapwindow, r
2626
2727 # f11 and f12 for music
28-bind = , F10, exec, playerctl previous
28+# bind = , F10, exec, playerctl previous
2929 bind = , F11, exec, playerctl play-pause
3030 bind = , F12, exec, playerctl next
3131
+1-1hypr/UserConfigs/WindowRules-old.conf
@@ -201,4 +201,4 @@ layerrule = ignorezero, notifications
201201 #layerrule = ignorezero, <rofi>
202202
203203 #layerrule = ignorezero, overview
204-#layerrule = blur, overview
204+#layerrule = blur, overview
+1-1hypr/UserScripts/WallpaperEffects.sh
@@ -3,7 +3,7 @@
33 # Wallpaper Effects using ImageMagick (SUPER SHIFT W)
44
55 # Variables
6-terminal=alacritty
6+terminal=foot
77 wallpaper_current="$HOME/.config/hypr/wallpaper_effects/.wallpaper_current"
88 wallpaper_output="$HOME/.config/hypr/wallpaper_effects/.wallpaper_modified"
99 SCRIPTSDIR="$HOME/.config/hypr/scripts"
+1-1hypr/UserScripts/WallpaperSelect.sh
@@ -3,7 +3,7 @@
33 # This script for selecting wallpapers (SUPER W)
44
55 # WALLPAPERS PATH
6-terminal=alacritty
6+terminal=foot
77 wallDIR="$HOME/Pictures/wallpapers"
88 SCRIPTSDIR="$HOME/.config/hypr/scripts"
99 wallpaper_current="$HOME/.config/hypr/wallpaper_effects/.wallpaper_current"
+73-71hypr/scripts/ScreenShot.sh
@@ -24,46 +24,46 @@ notify_cmd_NOT="notify-send -u low -i ${iDoR}/note.png "
2424 notify_view() {
2525 if [[ "$1" == "active" ]]; then
2626 if [[ -e "${active_window_path}" ]]; then
27- "${sDIR}/Sounds.sh" --screenshot
27+ "${sDIR}/Sounds.sh" --screenshot
2828 resp=$(timeout 5 ${notify_cmd_shot_win} " Screenshot of:" " ${active_window_class} Saved.")
2929 case "$resp" in
30- action1)
31- xdg-open "${active_window_path}" &
32- ;;
33- action2)
34- rm "${active_window_path}" &
35- ;;
36- esac
30+ action1)
31+ xdg-open "${active_window_path}" &
32+ ;;
33+ action2)
34+ rm "${active_window_path}" &
35+ ;;
36+ esac
3737 else
3838 ${notify_cmd_NOT} " Screenshot of:" " ${active_window_class} NOT Saved."
3939 "${sDIR}/Sounds.sh" --error
4040 fi
4141
4242 elif [[ "$1" == "swappy" ]]; then
43- "${sDIR}/Sounds.sh" --screenshot
44- resp=$(${notify_cmd_shot} " Screenshot:" " Captured by Swappy")
45- case "$resp" in
46- action1)
47- swappy -f - <"$tmpfile"
48- ;;
49- action2)
50- rm "$tmpfile"
51- ;;
52- esac
43+ "${sDIR}/Sounds.sh" --screenshot
44+ resp=$(${notify_cmd_shot} " Screenshot:" " Captured by Swappy")
45+ case "$resp" in
46+ action1)
47+ swappy -f - <"$tmpfile"
48+ ;;
49+ action2)
50+ rm "$tmpfile"
51+ ;;
52+ esac
5353
5454 else
5555 local check_file="${dir}/${file}"
5656 if [[ -e "$check_file" ]]; then
5757 "${sDIR}/Sounds.sh" --screenshot
5858 resp=$(timeout 5 ${notify_cmd_shot} " Screenshot" " Saved")
59- case "$resp" in
60- action1)
61- xdg-open "${check_file}" &
62- ;;
63- action2)
64- rm "${check_file}" &
65- ;;
66- esac
59+ case "$resp" in
60+ action1)
61+ xdg-open "${check_file}" &
62+ ;;
63+ action2)
64+ rm "${check_file}" &
65+ ;;
66+ esac
6767 else
6868 ${notify_cmd_NOT} " Screenshot" " NOT Saved"
6969 "${sDIR}/Sounds.sh" --error
@@ -73,49 +73,49 @@ notify_view() {
7373
7474 # countdown
7575 countdown() {
76- for sec in $(seq $1 -1 1); do
77- notify-send -h string:x-canonical-private-synchronous:shot-notify -t 1000 -i "$iDIR"/timer.png " Taking shot" " in: $sec secs"
78- sleep 1
79- done
76+ for sec in $(seq $1 -1 1); do
77+ notify-send -h string:x-canonical-private-synchronous:shot-notify -t 1000 -i "$iDIR"/timer.png " Taking shot" " in: $sec secs"
78+ sleep 1
79+ done
8080 }
8181
8282 # take shots
8383 shotnow() {
84- cd ${dir} && grim - | tee "$file" | wl-copy
85- sleep 2
86- notify_view
84+ cd ${dir} && grim - | tee "$file" | wl-copy
85+ sleep 2
86+ notify_view
8787 }
8888
8989 shot5() {
90- countdown '5'
91- sleep 1 && cd ${dir} && grim - | tee "$file" | wl-copy
92- sleep 1
93- notify_view
90+ countdown '5'
91+ sleep 1 && cd ${dir} && grim - | tee "$file" | wl-copy
92+ sleep 1
93+ notify_view
9494 }
9595
9696 shot10() {
97- countdown '10'
98- sleep 1 && cd ${dir} && grim - | tee "$file" | wl-copy
99- notify_view
97+ countdown '10'
98+ sleep 1 && cd ${dir} && grim - | tee "$file" | wl-copy
99+ notify_view
100100 }
101101
102102 shotwin() {
103- w_pos=$(hyprctl activewindow | grep 'at:' | cut -d':' -f2 | tr -d ' ' | tail -n1)
104- w_size=$(hyprctl activewindow | grep 'size:' | cut -d':' -f2 | tr -d ' ' | tail -n1 | sed s/,/x/g)
105- cd ${dir} && grim -g "$w_pos $w_size" - | tee "$file" | wl-copy
106- notify_view
103+ w_pos=$(hyprctl activewindow | grep 'at:' | cut -d':' -f2 | tr -d ' ' | tail -n1)
104+ w_size=$(hyprctl activewindow | grep 'size:' | cut -d':' -f2 | tr -d ' ' | tail -n1 | sed s/,/x/g)
105+ cd ${dir} && grim -g "$w_pos $w_size" - | tee "$file" | wl-copy
106+ notify_view
107107 }
108108
109109 shotarea() {
110- tmpfile=$(mktemp)
111- grim -g "$(slurp)" - >"$tmpfile"
112-
113- # Copy with saving
114- if [[ -s "$tmpfile" ]]; then
115- wl-copy <"$tmpfile"
116- mv "$tmpfile" "$dir/$file"
117- fi
118- notify_view
110+ tmpfile=$(mktemp)
111+ grim -g "$(slurp)" - >"$tmpfile"
112+
113+ # Copy with saving
114+ if [[ -s "$tmpfile" ]]; then
115+ wl-copy <"$tmpfile"
116+ mv "$tmpfile" "$dir/$file"
117+ fi
118+ notify_view
119119 }
120120
121121 shotactive() {
@@ -124,41 +124,43 @@ shotactive() {
124124 active_window_path="${dir}/${active_window_file}"
125125
126126 hyprctl -j activewindow | jq -r '"\(.at[0]),\(.at[1]) \(.size[0])x\(.size[1])"' | grim -g - "${active_window_path}"
127- sleep 1
127+ sleep 1
128128 notify_view "active"
129129 }
130130
131131 shotswappy() {
132- tmpfile=$(mktemp)
133- grim -g "$(slurp)" - >"$tmpfile"
134-
135- # Copy without saving
136- if [[ -s "$tmpfile" ]]; then
137- wl-copy <"$tmpfile"
138- notify_view "swappy"
139- fi
132+ tmpfile=$(mktemp)
133+ grim -g "$(slurp)" - >"$tmpfile"
134+ # hyprshot -m region -z
135+ # flameshot gui
136+
137+ # Copy without saving
138+ if [[ -s "$tmpfile" ]]; then
139+ wl-copy <"$tmpfile"
140+ notify_view "swappy"
141+ fi
140142 }
141143
142144 if [[ ! -d "$dir" ]]; then
143- mkdir -p "$dir"
145+ mkdir -p "$dir"
144146 fi
145147
146148 if [[ "$1" == "--now" ]]; then
147- shotnow
149+ shotnow
148150 elif [[ "$1" == "--in5" ]]; then
149- shot5
151+ shot5
150152 elif [[ "$1" == "--in10" ]]; then
151- shot10
153+ shot10
152154 elif [[ "$1" == "--win" ]]; then
153- shotwin
155+ shotwin
154156 elif [[ "$1" == "--area" ]]; then
155- shotarea
157+ shotarea
156158 elif [[ "$1" == "--active" ]]; then
157- shotactive
159+ shotactive
158160 elif [[ "$1" == "--swappy" ]]; then
159- shotswappy
161+ shotswappy
160162 else
161- echo -e "Available Options : --now --in5 --in10 --win --area --active --swappy"
163+ echo -e "Available Options : --now --in5 --in10 --win --area --active --swappy"
162164 fi
163165
164166 exit 0
+1-1nvim
@@ -1 +1 @@
1-Subproject commit 5f17e4af8437ef8dee9323c55937aaf546ace513
1+Subproject commit 8e614090823d3ff3f215a91cb433e7d1c390608e
+111-137oh-my-zsh/p10k.zsh
@@ -1,11 +1,10 @@
1-# Generated by Powerlevel10k configuration wizard on 2025-06-05 at 11:23 PDT.
2-# Based on romkatv/powerlevel10k/config/p10k-classic.zsh, checksum 13396.
3-# Wizard options: nerdfont-v3 + powerline, small icons, classic, unicode, light,
4-# angled separators, sharp heads, round tails, 2 lines, dotted, full frame, sparse,
5-# few icons, concise, instant_prompt=quiet.
1+# Generated by Powerlevel10k configuration wizard on 2025-10-28 at 23:14 PDT.
2+# Based on romkatv/powerlevel10k/config/p10k-lean.zsh, checksum 37983.
3+# Wizard options: nerdfont-v3 + powerline, small icons, unicode, lean, 2 lines, dotted,
4+# no frame, dark-ornaments, compact, many icons, concise, instant_prompt=verbose.
65 # Type `p10k configure` to generate another config.
76 #
8-# Config for Powerlevel10k with classic powerline prompt style. Type `p10k configure` to generate
7+# Config for Powerlevel10k with lean prompt style. Type `p10k configure` to generate
98 # your own config based on it.
109 #
1110 # Tip: Looking for a nice color? Here's a one-liner to print colormap.
@@ -32,12 +31,12 @@
3231 # The list of segments shown on the left. Fill it with the most important segments.
3332 typeset -g POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(
3433 # =========================[ Line #1 ]=========================
35- # os_icon # os identifier
34+ os_icon # os identifier
3635 dir # current directory
3736 vcs # git status
3837 # =========================[ Line #2 ]=========================
3938 newline # \n
40- # prompt_char # prompt symbol
39+ prompt_char # prompt symbol
4140 )
4241
4342 # The list of segments shown on the right. Fill it with less important segments.
@@ -96,7 +95,6 @@
9695 midnight_commander # midnight commander shell (https://midnight-commander.org/)
9796 nix_shell # nix shell (https://nixos.org/nixos/nix-pills/developing-with-nix-shell.html)
9897 chezmoi_shell # chezmoi shell (https://www.chezmoi.io/)
99- vi_mode # vi mode (you don't need this if you've enabled prompt_char)
10098 # vpn_ip # virtual private network indicator
10199 # load # CPU load
102100 # disk_usage # disk usage
@@ -109,7 +107,7 @@
109107 # cpu_arch # CPU architecture
110108 # time # current time
111109 # =========================[ Line #2 ]=========================
112- newline # \n
110+ newline
113111 # ip # ip address and bandwidth usage for a specified network interface
114112 # public_ip # public IP address
115113 # proxy # system-wide http/https/ftp proxy
@@ -124,6 +122,13 @@
124122 # icon overlap when using non-monospace fonts. When set to `none`, spaces are not added.
125123 typeset -g POWERLEVEL9K_ICON_PADDING=none
126124
125+ # Basic style options that define the overall look of your prompt. You probably don't want to
126+ # change them.
127+ typeset -g POWERLEVEL9K_BACKGROUND= # transparent background
128+ typeset -g POWERLEVEL9K_{LEFT,RIGHT}_{LEFT,RIGHT}_WHITESPACE= # no surrounding whitespace
129+ typeset -g POWERLEVEL9K_{LEFT,RIGHT}_SUBSEGMENT_SEPARATOR=' ' # separate segments with a space
130+ typeset -g POWERLEVEL9K_{LEFT,RIGHT}_SEGMENT_SEPARATOR= # no end-of-line symbol
131+
127132 # When set to true, icons appear before content on both sides of the prompt. When set
128133 # to false, icons go after content. If empty or not set, icons go before content in the left
129134 # prompt and after content in the right prompt.
@@ -135,72 +140,59 @@
135140 # Or for a specific segment in specific state:
136141 #
137142 # POWERLEVEL9K_DIR_NOT_WRITABLE_ICON_BEFORE_CONTENT=false
138- typeset -g POWERLEVEL9K_ICON_BEFORE_CONTENT=
143+ typeset -g POWERLEVEL9K_ICON_BEFORE_CONTENT=true
139144
140145 # Add an empty line before each prompt.
141- typeset -g POWERLEVEL9K_PROMPT_ADD_NEWLINE=true
146+ typeset -g POWERLEVEL9K_PROMPT_ADD_NEWLINE=false
142147
143- # Connect left prompt lines with these symbols. You'll probably want to use the same color
144- # as POWERLEVEL9K_MULTILINE_FIRST_PROMPT_GAP_FOREGROUND below.
145- typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX='%242F╭─'
146- typeset -g POWERLEVEL9K_MULTILINE_NEWLINE_PROMPT_PREFIX='%242F├─'
147- typeset -g POWERLEVEL9K_MULTILINE_LAST_PROMPT_PREFIX='%242F╰─'
148+ # Connect left prompt lines with these symbols.
149+ typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX=
150+ typeset -g POWERLEVEL9K_MULTILINE_NEWLINE_PROMPT_PREFIX=
151+ typeset -g POWERLEVEL9K_MULTILINE_LAST_PROMPT_PREFIX=
148152 # Connect right prompt lines with these symbols.
149- typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_SUFFIX='%242F─╮'
150- typeset -g POWERLEVEL9K_MULTILINE_NEWLINE_PROMPT_SUFFIX='%242F─┤'
151- typeset -g POWERLEVEL9K_MULTILINE_LAST_PROMPT_SUFFIX='%242F─╯'
152-
153- # Filler between left and right prompt on the first prompt line. You can set it to ' ', '·' or
154- # '─'. The last two make it easier to see the alignment between left and right prompt and to
155- # separate prompt from command output. You might want to set POWERLEVEL9K_PROMPT_ADD_NEWLINE=false
156- # for more compact prompt if using this option.
153+ typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_SUFFIX=
154+ typeset -g POWERLEVEL9K_MULTILINE_NEWLINE_PROMPT_SUFFIX=
155+ typeset -g POWERLEVEL9K_MULTILINE_LAST_PROMPT_SUFFIX=
156+
157+ # The left end of left prompt.
158+ typeset -g POWERLEVEL9K_LEFT_PROMPT_FIRST_SEGMENT_START_SYMBOL=
159+ # The right end of right prompt.
160+ typeset -g POWERLEVEL9K_RIGHT_PROMPT_LAST_SEGMENT_END_SYMBOL=
161+
162+ # Ruler, a.k.a. the horizontal line before each prompt. If you set it to true, you'll
163+ # probably want to set POWERLEVEL9K_PROMPT_ADD_NEWLINE=false above and
164+ # POWERLEVEL9K_MULTILINE_FIRST_PROMPT_GAP_CHAR=' ' below.
165+ typeset -g POWERLEVEL9K_SHOW_RULER=false
166+ typeset -g POWERLEVEL9K_RULER_CHAR='─' # reasonable alternative: '·'
167+ typeset -g POWERLEVEL9K_RULER_FOREGROUND=240
168+
169+ # Filler between left and right prompt on the first prompt line. You can set it to '·' or '─'
170+ # to make it easier to see the alignment between left and right prompt and to separate prompt
171+ # from command output. It serves the same purpose as ruler (see above) without increasing
172+ # the number of prompt lines. You'll probably want to set POWERLEVEL9K_SHOW_RULER=false
173+ # if using this. You might also like POWERLEVEL9K_PROMPT_ADD_NEWLINE=false for more compact
174+ # prompt.
157175 typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_GAP_CHAR='·'
158- typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_GAP_BACKGROUND=
159- typeset -g POWERLEVEL9K_MULTILINE_NEWLINE_PROMPT_GAP_BACKGROUND=
160176 if [[ $POWERLEVEL9K_MULTILINE_FIRST_PROMPT_GAP_CHAR != ' ' ]]; then
161- # The color of the filler. You'll probably want to match the color of POWERLEVEL9K_MULTILINE
162- # ornaments defined above.
163- typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_GAP_FOREGROUND=242
177+ # The color of the filler.
178+ typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_GAP_FOREGROUND=240
179+ # Add a space between the end of left prompt and the filler.
180+ typeset -g POWERLEVEL9K_LEFT_PROMPT_LAST_SEGMENT_END_SYMBOL=' '
181+ # Add a space between the filler and the start of right prompt.
182+ typeset -g POWERLEVEL9K_RIGHT_PROMPT_FIRST_SEGMENT_START_SYMBOL=' '
164183 # Start filler from the edge of the screen if there are no left segments on the first line.
165184 typeset -g POWERLEVEL9K_EMPTY_LINE_LEFT_PROMPT_FIRST_SEGMENT_END_SYMBOL='%{%}'
166185 # End filler on the edge of the screen if there are no right segments on the first line.
167186 typeset -g POWERLEVEL9K_EMPTY_LINE_RIGHT_PROMPT_FIRST_SEGMENT_START_SYMBOL='%{%}'
168187 fi
169188
170- # Default background color.
171- typeset -g POWERLEVEL9K_BACKGROUND=238
172-
173- # Separator between same-color segments on the left.
174- typeset -g POWERLEVEL9K_LEFT_SUBSEGMENT_SEPARATOR='%246F\uE0B1'
175- # Separator between same-color segments on the right.
176- typeset -g POWERLEVEL9K_RIGHT_SUBSEGMENT_SEPARATOR='%246F\uE0B3'
177- # Separator between different-color segments on the left.
178- typeset -g POWERLEVEL9K_LEFT_SEGMENT_SEPARATOR='\uE0B0'
179- # Separator between different-color segments on the right.
180- typeset -g POWERLEVEL9K_RIGHT_SEGMENT_SEPARATOR='\uE0B2'
181- # To remove a separator between two segments, add "_joined" to the second segment name.
182- # For example: POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(os_icon context_joined)
183-
184- # The right end of left prompt.
185- typeset -g POWERLEVEL9K_LEFT_PROMPT_LAST_SEGMENT_END_SYMBOL='\uE0B0'
186- # The left end of right prompt.
187- typeset -g POWERLEVEL9K_RIGHT_PROMPT_FIRST_SEGMENT_START_SYMBOL='\uE0B2'
188- # The left end of left prompt.
189- typeset -g POWERLEVEL9K_LEFT_PROMPT_FIRST_SEGMENT_START_SYMBOL='\uE0B6'
190- # The right end of right prompt.
191- typeset -g POWERLEVEL9K_RIGHT_PROMPT_LAST_SEGMENT_END_SYMBOL='\uE0B4'
192- # Left prompt terminator for lines without any segments.
193- typeset -g POWERLEVEL9K_EMPTY_LINE_LEFT_PROMPT_LAST_SEGMENT_END_SYMBOL=
194-
195189 #################################[ os_icon: os identifier ]##################################
196190 # OS identifier color.
197- typeset -g POWERLEVEL9K_OS_ICON_FOREGROUND=255
191+ typeset -g POWERLEVEL9K_OS_ICON_FOREGROUND=
198192 # Custom icon.
199193 # typeset -g POWERLEVEL9K_OS_ICON_CONTENT_EXPANSION='⭐'
200194
201195 ################################[ prompt_char: prompt symbol ]################################
202- # Transparent background.
203- typeset -g POWERLEVEL9K_PROMPT_CHAR_BACKGROUND=
204196 # Green prompt symbol if the last command succeeded.
205197 typeset -g POWERLEVEL9K_PROMPT_CHAR_OK_{VIINS,VICMD,VIVIS,VIOWR}_FOREGROUND=76
206198 # Red prompt symbol if the last command failed.
@@ -215,11 +207,9 @@
215207 typeset -g POWERLEVEL9K_PROMPT_CHAR_{OK,ERROR}_VIOWR_CONTENT_EXPANSION='▶'
216208 typeset -g POWERLEVEL9K_PROMPT_CHAR_OVERWRITE_STATE=true
217209 # No line terminator if prompt_char is the last segment.
218- typeset -g POWERLEVEL9K_PROMPT_CHAR_LEFT_PROMPT_LAST_SEGMENT_END_SYMBOL=
210+ typeset -g POWERLEVEL9K_PROMPT_CHAR_LEFT_PROMPT_LAST_SEGMENT_END_SYMBOL=''
219211 # No line introducer if prompt_char is the first segment.
220212 typeset -g POWERLEVEL9K_PROMPT_CHAR_LEFT_PROMPT_FIRST_SEGMENT_START_SYMBOL=
221- # No surrounding whitespace.
222- typeset -g POWERLEVEL9K_PROMPT_CHAR_LEFT_{LEFT,RIGHT}_WHITESPACE=
223213
224214 ##################################[ dir: current directory ]##################################
225215 # Default current directory color.
@@ -351,14 +341,14 @@
351341 # parameter. For example, if POWERLEVEL9K_DIR_WORK_NOT_WRITABLE_FOREGROUND is not set, it falls
352342 # back to POWERLEVEL9K_DIR_FOREGROUND.
353343 #
354- typeset -g POWERLEVEL9K_DIR_CLASSES=()
344+ # typeset -g POWERLEVEL9K_DIR_CLASSES=()
355345
356346 # Custom prefix.
357- # typeset -g POWERLEVEL9K_DIR_PREFIX='%248Fin '
347+ # typeset -g POWERLEVEL9K_DIR_PREFIX='%fin '
358348
359349 #####################################[ vcs: git status ]######################################
360350 # Branch icon. Set this parameter to '\UE0A0 ' for the popular Powerline branch icon.
361- typeset -g POWERLEVEL9K_VCS_BRANCH_ICON=
351+ typeset -g POWERLEVEL9K_VCS_BRANCH_ICON='\uF126 '
362352
363353 # Untracked files icon. It's really a question mark, your font isn't broken.
364354 # Change the value of this parameter to show a different icon.
@@ -384,7 +374,7 @@
384374
385375 if (( $1 )); then
386376 # Styling for up-to-date Git status.
387- local meta='%248F' # grey foreground
377+ local meta='%f' # default foreground
388378 local clean='%76F' # green foreground
389379 local modified='%178F' # yellow foreground
390380 local untracked='%39F' # blue foreground
@@ -504,13 +494,13 @@
504494 typeset -g POWERLEVEL9K_VCS_VISUAL_IDENTIFIER_COLOR=76
505495 typeset -g POWERLEVEL9K_VCS_LOADING_VISUAL_IDENTIFIER_COLOR=244
506496 # Custom icon.
507- typeset -g POWERLEVEL9K_VCS_VISUAL_IDENTIFIER_EXPANSION=
497+ # typeset -g POWERLEVEL9K_VCS_VISUAL_IDENTIFIER_EXPANSION='⭐'
508498 # Custom prefix.
509- # typeset -g POWERLEVEL9K_VCS_PREFIX='%248Fon '
499+ # typeset -g POWERLEVEL9K_VCS_PREFIX='%fon '
510500
511501 # Show status of repositories of these types. You can add svn and/or hg if you are
512502 # using them. If you do, your prompt may become slow even when your current directory
513- # isn't in an svn or hg reposotiry.
503+ # isn't in an svn or hg repository.
514504 typeset -g POWERLEVEL9K_VCS_BACKENDS=(git)
515505
516506 # These settings are used for repositories other than Git or when gitstatusd fails and
@@ -526,7 +516,7 @@
526516
527517 # Status on success. No content, just an icon. No need to show it if prompt_char is enabled as
528518 # it will signify success by turning green.
529- typeset -g POWERLEVEL9K_STATUS_OK=true
519+ typeset -g POWERLEVEL9K_STATUS_OK=false
530520 typeset -g POWERLEVEL9K_STATUS_OK_FOREGROUND=70
531521 typeset -g POWERLEVEL9K_STATUS_OK_VISUAL_IDENTIFIER_EXPANSION='✔'
532522
@@ -538,7 +528,7 @@
538528
539529 # Status when it's just an error code (e.g., '1'). No need to show it if prompt_char is enabled as
540530 # it will signify error by turning red.
541- typeset -g POWERLEVEL9K_STATUS_ERROR=true
531+ typeset -g POWERLEVEL9K_STATUS_ERROR=false
542532 typeset -g POWERLEVEL9K_STATUS_ERROR_FOREGROUND=160
543533 typeset -g POWERLEVEL9K_STATUS_ERROR_VISUAL_IDENTIFIER_EXPANSION='✘'
544534
@@ -561,19 +551,19 @@
561551 # Show this many fractional digits. Zero means round to seconds.
562552 typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_PRECISION=0
563553 # Execution time color.
564- typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_FOREGROUND=248
554+ typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_FOREGROUND=101
565555 # Duration format: 1d 2h 3m 4s.
566556 typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_FORMAT='d h m s'
567557 # Custom icon.
568- typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_VISUAL_IDENTIFIER_EXPANSION=
558+ # typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_VISUAL_IDENTIFIER_EXPANSION='⭐'
569559 # Custom prefix.
570- # typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_PREFIX='%248Ftook '
560+ # typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_PREFIX='%ftook '
571561
572562 #######################[ background_jobs: presence of background jobs ]#######################
573563 # Don't show the number of background jobs.
574564 typeset -g POWERLEVEL9K_BACKGROUND_JOBS_VERBOSE=false
575565 # Background jobs color.
576- typeset -g POWERLEVEL9K_BACKGROUND_JOBS_FOREGROUND=37
566+ typeset -g POWERLEVEL9K_BACKGROUND_JOBS_FOREGROUND=70
577567 # Custom icon.
578568 # typeset -g POWERLEVEL9K_BACKGROUND_JOBS_VISUAL_IDENTIFIER_EXPANSION='⭐'
579569
@@ -671,7 +661,7 @@
671661 # .NET Core version from asdf.
672662 typeset -g POWERLEVEL9K_ASDF_DOTNET_CORE_FOREGROUND=134
673663 # typeset -g POWERLEVEL9K_ASDF_DOTNET_CORE_VISUAL_IDENTIFIER_EXPANSION='⭐'
674- # typeset -g POWERLEVEL9K_ASDF_DOTNET_CORE_SHOW_ON_UPGLOB='*.foo|*.bar'
664+ # typeset -g POWERLEVEL9K_ASDF_DOTNET_SHOW_ON_UPGLOB='*.foo|*.bar'
675665
676666 # Flutter version from asdf.
677667 typeset -g POWERLEVEL9K_ASDF_FLUTTER_FOREGROUND=38
@@ -806,22 +796,6 @@
806796 # Custom icon.
807797 # typeset -g POWERLEVEL9K_DISK_USAGE_VISUAL_IDENTIFIER_EXPANSION='⭐'
808798
809- ###########[ vi_mode: vi mode (you don't need this if you've enabled prompt_char) ]###########
810- # Text and color for normal (a.k.a. command) vi mode.
811- typeset -g POWERLEVEL9K_VI_COMMAND_MODE_STRING=NORMAL
812- typeset -g POWERLEVEL9K_VI_MODE_NORMAL_FOREGROUND=106
813- # Text and color for visual vi mode.
814- typeset -g POWERLEVEL9K_VI_VISUAL_MODE_STRING=VISUAL
815- typeset -g POWERLEVEL9K_VI_MODE_VISUAL_FOREGROUND=68
816- # Text and color for overtype (a.k.a. overwrite and replace) vi mode.
817- typeset -g POWERLEVEL9K_VI_OVERWRITE_MODE_STRING=OVERTYPE
818- typeset -g POWERLEVEL9K_VI_MODE_OVERWRITE_FOREGROUND=172
819- # Text and color for insert vi mode.
820- typeset -g POWERLEVEL9K_VI_INSERT_MODE_STRING=
821- typeset -g POWERLEVEL9K_VI_MODE_INSERT_FOREGROUND=66
822- # Custom icon.
823- # typeset -g POWERLEVEL9K_VI_MODE_VISUAL_IDENTIFIER_EXPANSION='⭐'
824-
825799 ######################################[ ram: free RAM ]#######################################
826800 # RAM color.
827801 typeset -g POWERLEVEL9K_RAM_FOREGROUND=66
@@ -948,7 +922,7 @@
948922 # Custom icon.
949923 # typeset -g POWERLEVEL9K_CONTEXT_VISUAL_IDENTIFIER_EXPANSION='⭐'
950924 # Custom prefix.
951- # typeset -g POWERLEVEL9K_CONTEXT_PREFIX='%248Fwith '
925+ # typeset -g POWERLEVEL9K_CONTEXT_PREFIX='%fwith '
952926
953927 ###[ virtualenv: python virtual environment (https://docs.python.org/3/library/venv.html) ]###
954928 # Python virtual environment color.
@@ -1255,45 +1229,6 @@
12551229 # Custom icon.
12561230 # typeset -g POWERLEVEL9K_HASKELL_STACK_VISUAL_IDENTIFIER_EXPANSION='⭐'
12571231
1258- ################[ terraform: terraform workspace (https://www.terraform.io) ]#################
1259- # Don't show terraform workspace if it's literally "default".
1260- typeset -g POWERLEVEL9K_TERRAFORM_SHOW_DEFAULT=false
1261- # POWERLEVEL9K_TERRAFORM_CLASSES is an array with even number of elements. The first element
1262- # in each pair defines a pattern against which the current terraform workspace gets matched.
1263- # More specifically, it's P9K_CONTENT prior to the application of context expansion (see below)
1264- # that gets matched. If you unset all POWERLEVEL9K_TERRAFORM_*CONTENT_EXPANSION parameters,
1265- # you'll see this value in your prompt. The second element of each pair in
1266- # POWERLEVEL9K_TERRAFORM_CLASSES defines the workspace class. Patterns are tried in order. The
1267- # first match wins.
1268- #
1269- # For example, given these settings:
1270- #
1271- # typeset -g POWERLEVEL9K_TERRAFORM_CLASSES=(
1272- # '*prod*' PROD
1273- # '*test*' TEST
1274- # '*' OTHER)
1275- #
1276- # If your current terraform workspace is "project_test", its class is TEST because "project_test"
1277- # doesn't match the pattern '*prod*' but does match '*test*'.
1278- #
1279- # You can define different colors, icons and content expansions for different classes:
1280- #
1281- # typeset -g POWERLEVEL9K_TERRAFORM_TEST_FOREGROUND=28
1282- # typeset -g POWERLEVEL9K_TERRAFORM_TEST_VISUAL_IDENTIFIER_EXPANSION='⭐'
1283- # typeset -g POWERLEVEL9K_TERRAFORM_TEST_CONTENT_EXPANSION='> ${P9K_CONTENT} <'
1284- typeset -g POWERLEVEL9K_TERRAFORM_CLASSES=(
1285- # '*prod*' PROD # These values are examples that are unlikely
1286- # '*test*' TEST # to match your needs. Customize them as needed.
1287- '*' OTHER)
1288- typeset -g POWERLEVEL9K_TERRAFORM_OTHER_FOREGROUND=38
1289- # typeset -g POWERLEVEL9K_TERRAFORM_OTHER_VISUAL_IDENTIFIER_EXPANSION='⭐'
1290-
1291- #############[ terraform_version: terraform version (https://www.terraform.io) ]##############
1292- # Terraform version color.
1293- typeset -g POWERLEVEL9K_TERRAFORM_VERSION_FOREGROUND=38
1294- # Custom icon.
1295- # typeset -g POWERLEVEL9K_TERRAFORM_VERSION_VISUAL_IDENTIFIER_EXPANSION='⭐'
1296-
12971232 #############[ kubecontext: current kubernetes context (https://kubernetes.io/) ]#############
12981233 # Show kubecontext only when the command you are typing invokes one of these tools.
12991234 # Tip: Remove the next line to always show kubecontext.
@@ -1379,7 +1314,46 @@
13791314 POWERLEVEL9K_KUBECONTEXT_DEFAULT_CONTENT_EXPANSION+='${${:-/$P9K_KUBECONTEXT_NAMESPACE}:#/default}'
13801315
13811316 # Custom prefix.
1382- # typeset -g POWERLEVEL9K_KUBECONTEXT_PREFIX='%248Fat '
1317+ # typeset -g POWERLEVEL9K_KUBECONTEXT_PREFIX='%fat '
1318+
1319+ ################[ terraform: terraform workspace (https://www.terraform.io) ]#################
1320+ # Don't show terraform workspace if it's literally "default".
1321+ typeset -g POWERLEVEL9K_TERRAFORM_SHOW_DEFAULT=false
1322+ # POWERLEVEL9K_TERRAFORM_CLASSES is an array with even number of elements. The first element
1323+ # in each pair defines a pattern against which the current terraform workspace gets matched.
1324+ # More specifically, it's P9K_CONTENT prior to the application of context expansion (see below)
1325+ # that gets matched. If you unset all POWERLEVEL9K_TERRAFORM_*CONTENT_EXPANSION parameters,
1326+ # you'll see this value in your prompt. The second element of each pair in
1327+ # POWERLEVEL9K_TERRAFORM_CLASSES defines the workspace class. Patterns are tried in order. The
1328+ # first match wins.
1329+ #
1330+ # For example, given these settings:
1331+ #
1332+ # typeset -g POWERLEVEL9K_TERRAFORM_CLASSES=(
1333+ # '*prod*' PROD
1334+ # '*test*' TEST
1335+ # '*' OTHER)
1336+ #
1337+ # If your current terraform workspace is "project_test", its class is TEST because "project_test"
1338+ # doesn't match the pattern '*prod*' but does match '*test*'.
1339+ #
1340+ # You can define different colors, icons and content expansions for different classes:
1341+ #
1342+ # typeset -g POWERLEVEL9K_TERRAFORM_TEST_FOREGROUND=28
1343+ # typeset -g POWERLEVEL9K_TERRAFORM_TEST_VISUAL_IDENTIFIER_EXPANSION='⭐'
1344+ # typeset -g POWERLEVEL9K_TERRAFORM_TEST_CONTENT_EXPANSION='> ${P9K_CONTENT} <'
1345+ typeset -g POWERLEVEL9K_TERRAFORM_CLASSES=(
1346+ # '*prod*' PROD # These values are examples that are unlikely
1347+ # '*test*' TEST # to match your needs. Customize them as needed.
1348+ '*' OTHER)
1349+ typeset -g POWERLEVEL9K_TERRAFORM_OTHER_FOREGROUND=38
1350+ # typeset -g POWERLEVEL9K_TERRAFORM_OTHER_VISUAL_IDENTIFIER_EXPANSION='⭐'
1351+
1352+ #############[ terraform_version: terraform version (https://www.terraform.io) ]##############
1353+ # Terraform version color.
1354+ typeset -g POWERLEVEL9K_TERRAFORM_VERSION_FOREGROUND=38
1355+ # Custom icon.
1356+ # typeset -g POWERLEVEL9K_TERRAFORM_VERSION_VISUAL_IDENTIFIER_EXPANSION='⭐'
13831357
13841358 #[ aws: aws profile (https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html) ]#
13851359 # Show aws only when the command you are typing invokes one of these tools.
@@ -1569,7 +1543,7 @@
15691543 # Custom icon.
15701544 # typeset -g POWERLEVEL9K_TOOLBOX_VISUAL_IDENTIFIER_EXPANSION='⭐'
15711545 # Custom prefix.
1572- # typeset -g POWERLEVEL9K_TOOLBOX_PREFIX='%248Fin '
1546+ # typeset -g POWERLEVEL9K_TOOLBOX_PREFIX='%fin '
15731547
15741548 ###############################[ public_ip: public IP address ]###############################
15751549 # Public IP color.
@@ -1608,7 +1582,7 @@
16081582 # P9K_IP_TX_BYTES_DELTA | number of bytes sent since last prompt
16091583 # P9K_IP_RX_RATE | receive rate (since last prompt)
16101584 # P9K_IP_TX_RATE | send rate (since last prompt)
1611- typeset -g POWERLEVEL9K_IP_CONTENT_EXPANSION='${P9K_IP_RX_RATE:+%70F⇣$P9K_IP_RX_RATE }${P9K_IP_TX_RATE:+%215F⇡$P9K_IP_TX_RATE }%38F$P9K_IP_IP'
1585+ typeset -g POWERLEVEL9K_IP_CONTENT_EXPANSION='$P9K_IP_IP${P9K_IP_RX_RATE:+ %70F⇣$P9K_IP_RX_RATE}${P9K_IP_TX_RATE:+ %215F⇡$P9K_IP_TX_RATE}'
16121586 # Show information for the first network interface whose name matches this regular expression.
16131587 # Run `ifconfig` or `ip -4 a show` to see the names of all network interfaces.
16141588 typeset -g POWERLEVEL9K_IP_INTERFACE='[ew].*'
@@ -1670,9 +1644,9 @@
16701644 # behavior where they contain the end times of their preceding commands.
16711645 typeset -g POWERLEVEL9K_TIME_UPDATE_ON_COMMAND=false
16721646 # Custom icon.
1673- typeset -g POWERLEVEL9K_TIME_VISUAL_IDENTIFIER_EXPANSION=
1647+ # typeset -g POWERLEVEL9K_TIME_VISUAL_IDENTIFIER_EXPANSION='⭐'
16741648 # Custom prefix.
1675- # typeset -g POWERLEVEL9K_TIME_PREFIX='%248Fat '
1649+ # typeset -g POWERLEVEL9K_TIME_PREFIX='%fat '
16761650
16771651 # Example of a user-defined prompt segment. Function prompt_example will be called on every
16781652 # prompt if `example` prompt segment is added to POWERLEVEL9K_LEFT_PROMPT_ELEMENTS or
@@ -1725,7 +1699,7 @@
17251699 # - verbose: Enable instant prompt and print a warning when detecting console output during
17261700 # zsh initialization. Choose this if you've never tried instant prompt, haven't
17271701 # seen the warning, or if you are unsure what this all means.
1728- typeset -g POWERLEVEL9K_INSTANT_PROMPT=quiet
1702+ typeset -g POWERLEVEL9K_INSTANT_PROMPT=verbose
17291703
17301704 # Hot reload allows you to change POWERLEVEL9K options after Powerlevel10k has been initialized.
17311705 # For example, you can type POWERLEVEL9K_BACKGROUND=red and see your prompt turn red. Hot reload
+15-4tmux/tmux.conf
@@ -3,7 +3,8 @@ set-option -ga terminal-overrides ",xterm-256color:Tc:allow-passthrough"
33 set -g xterm-keys on
44 set -g allow-passthrough on
55 set -ga update-environment TERM
6-set -ga update-invironment TERM_PROGRAM
6+set -ga update-environment TERM_PROGRAM
7+set -g history-limit 4000
78
89 # Enable clipboard for wayland
910 set-option -g set-clipboard on
@@ -70,12 +71,19 @@ bind c new-window -c "#{pane_current_path}"
7071 bind x kill-pane
7172 bind & kill-window
7273
74+# Overrides matching file paths with :[line]:[col] at the end
75+set -g @fingers-pattern-0 "(([.\\w\\-~\\$@]+)(\\/?[\\w\\-@]+)+\\/?)\\.([\\w]+)(:\\d*:\\d*)?"
76+# Launches helper script on Ctrl+[key] in fingers mode
77+set -g @fingers-shift-action "xargs -I {} tmux run-shell 'cd #{pane_current_path}; ~/.tmux/plugins/tmux-open-nvim/scripts/ton {} > ~/.tmux/plugins/tmux-open-nvim/ton.log'"
78+
79+# Remove accidental cycle windows
80+unbind -T prefix Space
81+
7382 # popups
74-bind B display-popup -E -w 95% -h 95% -T "Processes" btop
83+bind h display-popup -E -w 95% -h 95% -T "Htop" htop
7584 bind g display-popup -E -w 95% -h 95% -T "Lazygit" -d "#{pane_current_path}" lazygit
76-bind D display-popup -E -w 95% -h 95% -T "Lazydocker" lazydocker
85+bind D display-popup -E -w 95% -h 95% -T "Docker Stats" docker stats
7786 bind S display-popup -E -w 95% -h 95% -T "System" systemctl-tui
78-bind F display-popup -E -w 95% -h 95% -T "Broot" -d "#{pane_current_path}" broot
7987 bind u display-popup -E -w 95% -h 95% -T "Upload Dotfiles" -d "$HOME/.dotfiles" "$HOME/.dotfiles/sync-then-lazygit.sh"
8088
8189 # List of plugins
@@ -85,6 +93,9 @@ set -g @plugin 'tmux-plugins/tmux-resurrect'
8593 set -g @plugin 'tmux-plugins/tmux-continuum'
8694 set -g @plugin 'erikw/tmux-powerline'
8795 set -g @plugin 'huncholane/tmux-fzf-keys'
96+set -g @plugin 'omerxx/tmux-sessionx'
97+set -g @plugin 'Morantron/tmux-fingers'
98+set -g @plugin 'trevarj/tmux-open-nvim'
8899
89100 # Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
90101 run '~/.tmux/plugins/tpm/tpm'