Not for normies
feat(hypr): default terminal is foot
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 | |
| 2 | 2 | |
| 3 | 3 | #* Name of a btop++/bpytop/bashtop formatted ".theme" file, "Default" and "TTY" for builtin themes. |
| 4 | 4 | #* Themes should be placed in "../share/btop/themes" relative to binary or "$HOME/.config/btop/themes" |
| @@ -115,6 +115,9 @@ cpu_bottom = False | ||
| 115 | 115 | #* Shows the system uptime in the CPU box. |
| 116 | 116 | show_uptime = True |
| 117 | 117 | |
| 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 | + | |
| 118 | 121 | #* Show cpu temperature. |
| 119 | 122 | check_temp = True |
| 120 | 123 |
+2-2hypr/UserConfigs/UserKeybinds.conf
| @@ -8,7 +8,7 @@ | ||
| 8 | 8 | # /* ---- ✴️ Variables ✴️ ---- */ # |
| 9 | 9 | $mainMod = SUPER |
| 10 | 10 | $files = nautilus |
| 11 | -$term = alacritty | |
| 11 | +$term = foot | |
| 12 | 12 | $scriptsDir = $HOME/.config/hypr/scripts |
| 13 | 13 | $UserScripts = $HOME/.config/hypr/UserScripts |
| 14 | 14 | |
| @@ -25,7 +25,7 @@ bind = $mainMod SHIFT, k, swapwindow, u | ||
| 25 | 25 | bind = $mainMod SHIFT, l, swapwindow, r |
| 26 | 26 | |
| 27 | 27 | # f11 and f12 for music |
| 28 | -bind = , F10, exec, playerctl previous | |
| 28 | +# bind = , F10, exec, playerctl previous | |
| 29 | 29 | bind = , F11, exec, playerctl play-pause |
| 30 | 30 | bind = , F12, exec, playerctl next |
| 31 | 31 |
+1-1hypr/UserConfigs/WindowRules-old.conf
| @@ -201,4 +201,4 @@ layerrule = ignorezero, notifications | ||
| 201 | 201 | #layerrule = ignorezero, <rofi> |
| 202 | 202 | |
| 203 | 203 | #layerrule = ignorezero, overview |
| 204 | -#layerrule = blur, overview | |
| 204 | +#layerrule = blur, overview |
+1-1hypr/UserScripts/WallpaperEffects.sh
| @@ -3,7 +3,7 @@ | ||
| 3 | 3 | # Wallpaper Effects using ImageMagick (SUPER SHIFT W) |
| 4 | 4 | |
| 5 | 5 | # Variables |
| 6 | -terminal=alacritty | |
| 6 | +terminal=foot | |
| 7 | 7 | wallpaper_current="$HOME/.config/hypr/wallpaper_effects/.wallpaper_current" |
| 8 | 8 | wallpaper_output="$HOME/.config/hypr/wallpaper_effects/.wallpaper_modified" |
| 9 | 9 | SCRIPTSDIR="$HOME/.config/hypr/scripts" |
+1-1hypr/UserScripts/WallpaperSelect.sh
| @@ -3,7 +3,7 @@ | ||
| 3 | 3 | # This script for selecting wallpapers (SUPER W) |
| 4 | 4 | |
| 5 | 5 | # WALLPAPERS PATH |
| 6 | -terminal=alacritty | |
| 6 | +terminal=foot | |
| 7 | 7 | wallDIR="$HOME/Pictures/wallpapers" |
| 8 | 8 | SCRIPTSDIR="$HOME/.config/hypr/scripts" |
| 9 | 9 | 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 " | ||
| 24 | 24 | notify_view() { |
| 25 | 25 | if [[ "$1" == "active" ]]; then |
| 26 | 26 | if [[ -e "${active_window_path}" ]]; then |
| 27 | - "${sDIR}/Sounds.sh" --screenshot | |
| 27 | + "${sDIR}/Sounds.sh" --screenshot | |
| 28 | 28 | resp=$(timeout 5 ${notify_cmd_shot_win} " Screenshot of:" " ${active_window_class} Saved.") |
| 29 | 29 | 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 | |
| 37 | 37 | else |
| 38 | 38 | ${notify_cmd_NOT} " Screenshot of:" " ${active_window_class} NOT Saved." |
| 39 | 39 | "${sDIR}/Sounds.sh" --error |
| 40 | 40 | fi |
| 41 | 41 | |
| 42 | 42 | 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 | |
| 53 | 53 | |
| 54 | 54 | else |
| 55 | 55 | local check_file="${dir}/${file}" |
| 56 | 56 | if [[ -e "$check_file" ]]; then |
| 57 | 57 | "${sDIR}/Sounds.sh" --screenshot |
| 58 | 58 | 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 | |
| 67 | 67 | else |
| 68 | 68 | ${notify_cmd_NOT} " Screenshot" " NOT Saved" |
| 69 | 69 | "${sDIR}/Sounds.sh" --error |
| @@ -73,49 +73,49 @@ notify_view() { | ||
| 73 | 73 | |
| 74 | 74 | # countdown |
| 75 | 75 | 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 | |
| 80 | 80 | } |
| 81 | 81 | |
| 82 | 82 | # take shots |
| 83 | 83 | 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 | |
| 87 | 87 | } |
| 88 | 88 | |
| 89 | 89 | 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 | |
| 94 | 94 | } |
| 95 | 95 | |
| 96 | 96 | 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 | |
| 100 | 100 | } |
| 101 | 101 | |
| 102 | 102 | 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 | |
| 107 | 107 | } |
| 108 | 108 | |
| 109 | 109 | 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 | |
| 119 | 119 | } |
| 120 | 120 | |
| 121 | 121 | shotactive() { |
| @@ -124,41 +124,43 @@ shotactive() { | ||
| 124 | 124 | active_window_path="${dir}/${active_window_file}" |
| 125 | 125 | |
| 126 | 126 | 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 | |
| 128 | 128 | notify_view "active" |
| 129 | 129 | } |
| 130 | 130 | |
| 131 | 131 | 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 | |
| 140 | 142 | } |
| 141 | 143 | |
| 142 | 144 | if [[ ! -d "$dir" ]]; then |
| 143 | - mkdir -p "$dir" | |
| 145 | + mkdir -p "$dir" | |
| 144 | 146 | fi |
| 145 | 147 | |
| 146 | 148 | if [[ "$1" == "--now" ]]; then |
| 147 | - shotnow | |
| 149 | + shotnow | |
| 148 | 150 | elif [[ "$1" == "--in5" ]]; then |
| 149 | - shot5 | |
| 151 | + shot5 | |
| 150 | 152 | elif [[ "$1" == "--in10" ]]; then |
| 151 | - shot10 | |
| 153 | + shot10 | |
| 152 | 154 | elif [[ "$1" == "--win" ]]; then |
| 153 | - shotwin | |
| 155 | + shotwin | |
| 154 | 156 | elif [[ "$1" == "--area" ]]; then |
| 155 | - shotarea | |
| 157 | + shotarea | |
| 156 | 158 | elif [[ "$1" == "--active" ]]; then |
| 157 | - shotactive | |
| 159 | + shotactive | |
| 158 | 160 | elif [[ "$1" == "--swappy" ]]; then |
| 159 | - shotswappy | |
| 161 | + shotswappy | |
| 160 | 162 | 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" | |
| 162 | 164 | fi |
| 163 | 165 | |
| 164 | 166 | 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. | |
| 6 | 5 | # Type `p10k configure` to generate another config. |
| 7 | 6 | # |
| 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 | |
| 9 | 8 | # your own config based on it. |
| 10 | 9 | # |
| 11 | 10 | # Tip: Looking for a nice color? Here's a one-liner to print colormap. |
| @@ -32,12 +31,12 @@ | ||
| 32 | 31 | # The list of segments shown on the left. Fill it with the most important segments. |
| 33 | 32 | typeset -g POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=( |
| 34 | 33 | # =========================[ Line #1 ]========================= |
| 35 | - # os_icon # os identifier | |
| 34 | + os_icon # os identifier | |
| 36 | 35 | dir # current directory |
| 37 | 36 | vcs # git status |
| 38 | 37 | # =========================[ Line #2 ]========================= |
| 39 | 38 | newline # \n |
| 40 | - # prompt_char # prompt symbol | |
| 39 | + prompt_char # prompt symbol | |
| 41 | 40 | ) |
| 42 | 41 | |
| 43 | 42 | # The list of segments shown on the right. Fill it with less important segments. |
| @@ -96,7 +95,6 @@ | ||
| 96 | 95 | midnight_commander # midnight commander shell (https://midnight-commander.org/) |
| 97 | 96 | nix_shell # nix shell (https://nixos.org/nixos/nix-pills/developing-with-nix-shell.html) |
| 98 | 97 | chezmoi_shell # chezmoi shell (https://www.chezmoi.io/) |
| 99 | - vi_mode # vi mode (you don't need this if you've enabled prompt_char) | |
| 100 | 98 | # vpn_ip # virtual private network indicator |
| 101 | 99 | # load # CPU load |
| 102 | 100 | # disk_usage # disk usage |
| @@ -109,7 +107,7 @@ | ||
| 109 | 107 | # cpu_arch # CPU architecture |
| 110 | 108 | # time # current time |
| 111 | 109 | # =========================[ Line #2 ]========================= |
| 112 | - newline # \n | |
| 110 | + newline | |
| 113 | 111 | # ip # ip address and bandwidth usage for a specified network interface |
| 114 | 112 | # public_ip # public IP address |
| 115 | 113 | # proxy # system-wide http/https/ftp proxy |
| @@ -124,6 +122,13 @@ | ||
| 124 | 122 | # icon overlap when using non-monospace fonts. When set to `none`, spaces are not added. |
| 125 | 123 | typeset -g POWERLEVEL9K_ICON_PADDING=none |
| 126 | 124 | |
| 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 | + | |
| 127 | 132 | # When set to true, icons appear before content on both sides of the prompt. When set |
| 128 | 133 | # to false, icons go after content. If empty or not set, icons go before content in the left |
| 129 | 134 | # prompt and after content in the right prompt. |
| @@ -135,72 +140,59 @@ | ||
| 135 | 140 | # Or for a specific segment in specific state: |
| 136 | 141 | # |
| 137 | 142 | # POWERLEVEL9K_DIR_NOT_WRITABLE_ICON_BEFORE_CONTENT=false |
| 138 | - typeset -g POWERLEVEL9K_ICON_BEFORE_CONTENT= | |
| 143 | + typeset -g POWERLEVEL9K_ICON_BEFORE_CONTENT=true | |
| 139 | 144 | |
| 140 | 145 | # Add an empty line before each prompt. |
| 141 | - typeset -g POWERLEVEL9K_PROMPT_ADD_NEWLINE=true | |
| 146 | + typeset -g POWERLEVEL9K_PROMPT_ADD_NEWLINE=false | |
| 142 | 147 | |
| 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= | |
| 148 | 152 | # 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. | |
| 157 | 175 | 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= | |
| 160 | 176 | 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=' ' | |
| 164 | 183 | # Start filler from the edge of the screen if there are no left segments on the first line. |
| 165 | 184 | typeset -g POWERLEVEL9K_EMPTY_LINE_LEFT_PROMPT_FIRST_SEGMENT_END_SYMBOL='%{%}' |
| 166 | 185 | # End filler on the edge of the screen if there are no right segments on the first line. |
| 167 | 186 | typeset -g POWERLEVEL9K_EMPTY_LINE_RIGHT_PROMPT_FIRST_SEGMENT_START_SYMBOL='%{%}' |
| 168 | 187 | fi |
| 169 | 188 | |
| 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 | - | |
| 195 | 189 | #################################[ os_icon: os identifier ]################################## |
| 196 | 190 | # OS identifier color. |
| 197 | - typeset -g POWERLEVEL9K_OS_ICON_FOREGROUND=255 | |
| 191 | + typeset -g POWERLEVEL9K_OS_ICON_FOREGROUND= | |
| 198 | 192 | # Custom icon. |
| 199 | 193 | # typeset -g POWERLEVEL9K_OS_ICON_CONTENT_EXPANSION='⭐' |
| 200 | 194 | |
| 201 | 195 | ################################[ prompt_char: prompt symbol ]################################ |
| 202 | - # Transparent background. | |
| 203 | - typeset -g POWERLEVEL9K_PROMPT_CHAR_BACKGROUND= | |
| 204 | 196 | # Green prompt symbol if the last command succeeded. |
| 205 | 197 | typeset -g POWERLEVEL9K_PROMPT_CHAR_OK_{VIINS,VICMD,VIVIS,VIOWR}_FOREGROUND=76 |
| 206 | 198 | # Red prompt symbol if the last command failed. |
| @@ -215,11 +207,9 @@ | ||
| 215 | 207 | typeset -g POWERLEVEL9K_PROMPT_CHAR_{OK,ERROR}_VIOWR_CONTENT_EXPANSION='▶' |
| 216 | 208 | typeset -g POWERLEVEL9K_PROMPT_CHAR_OVERWRITE_STATE=true |
| 217 | 209 | # 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='' | |
| 219 | 211 | # No line introducer if prompt_char is the first segment. |
| 220 | 212 | 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= | |
| 223 | 213 | |
| 224 | 214 | ##################################[ dir: current directory ]################################## |
| 225 | 215 | # Default current directory color. |
| @@ -351,14 +341,14 @@ | ||
| 351 | 341 | # parameter. For example, if POWERLEVEL9K_DIR_WORK_NOT_WRITABLE_FOREGROUND is not set, it falls |
| 352 | 342 | # back to POWERLEVEL9K_DIR_FOREGROUND. |
| 353 | 343 | # |
| 354 | - typeset -g POWERLEVEL9K_DIR_CLASSES=() | |
| 344 | + # typeset -g POWERLEVEL9K_DIR_CLASSES=() | |
| 355 | 345 | |
| 356 | 346 | # Custom prefix. |
| 357 | - # typeset -g POWERLEVEL9K_DIR_PREFIX='%248Fin ' | |
| 347 | + # typeset -g POWERLEVEL9K_DIR_PREFIX='%fin ' | |
| 358 | 348 | |
| 359 | 349 | #####################################[ vcs: git status ]###################################### |
| 360 | 350 | # 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 ' | |
| 362 | 352 | |
| 363 | 353 | # Untracked files icon. It's really a question mark, your font isn't broken. |
| 364 | 354 | # Change the value of this parameter to show a different icon. |
| @@ -384,7 +374,7 @@ | ||
| 384 | 374 | |
| 385 | 375 | if (( $1 )); then |
| 386 | 376 | # Styling for up-to-date Git status. |
| 387 | - local meta='%248F' # grey foreground | |
| 377 | + local meta='%f' # default foreground | |
| 388 | 378 | local clean='%76F' # green foreground |
| 389 | 379 | local modified='%178F' # yellow foreground |
| 390 | 380 | local untracked='%39F' # blue foreground |
| @@ -504,13 +494,13 @@ | ||
| 504 | 494 | typeset -g POWERLEVEL9K_VCS_VISUAL_IDENTIFIER_COLOR=76 |
| 505 | 495 | typeset -g POWERLEVEL9K_VCS_LOADING_VISUAL_IDENTIFIER_COLOR=244 |
| 506 | 496 | # Custom icon. |
| 507 | - typeset -g POWERLEVEL9K_VCS_VISUAL_IDENTIFIER_EXPANSION= | |
| 497 | + # typeset -g POWERLEVEL9K_VCS_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
| 508 | 498 | # Custom prefix. |
| 509 | - # typeset -g POWERLEVEL9K_VCS_PREFIX='%248Fon ' | |
| 499 | + # typeset -g POWERLEVEL9K_VCS_PREFIX='%fon ' | |
| 510 | 500 | |
| 511 | 501 | # Show status of repositories of these types. You can add svn and/or hg if you are |
| 512 | 502 | # 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. | |
| 514 | 504 | typeset -g POWERLEVEL9K_VCS_BACKENDS=(git) |
| 515 | 505 | |
| 516 | 506 | # These settings are used for repositories other than Git or when gitstatusd fails and |
| @@ -526,7 +516,7 @@ | ||
| 526 | 516 | |
| 527 | 517 | # Status on success. No content, just an icon. No need to show it if prompt_char is enabled as |
| 528 | 518 | # it will signify success by turning green. |
| 529 | - typeset -g POWERLEVEL9K_STATUS_OK=true | |
| 519 | + typeset -g POWERLEVEL9K_STATUS_OK=false | |
| 530 | 520 | typeset -g POWERLEVEL9K_STATUS_OK_FOREGROUND=70 |
| 531 | 521 | typeset -g POWERLEVEL9K_STATUS_OK_VISUAL_IDENTIFIER_EXPANSION='✔' |
| 532 | 522 | |
| @@ -538,7 +528,7 @@ | ||
| 538 | 528 | |
| 539 | 529 | # Status when it's just an error code (e.g., '1'). No need to show it if prompt_char is enabled as |
| 540 | 530 | # it will signify error by turning red. |
| 541 | - typeset -g POWERLEVEL9K_STATUS_ERROR=true | |
| 531 | + typeset -g POWERLEVEL9K_STATUS_ERROR=false | |
| 542 | 532 | typeset -g POWERLEVEL9K_STATUS_ERROR_FOREGROUND=160 |
| 543 | 533 | typeset -g POWERLEVEL9K_STATUS_ERROR_VISUAL_IDENTIFIER_EXPANSION='✘' |
| 544 | 534 | |
| @@ -561,19 +551,19 @@ | ||
| 561 | 551 | # Show this many fractional digits. Zero means round to seconds. |
| 562 | 552 | typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_PRECISION=0 |
| 563 | 553 | # Execution time color. |
| 564 | - typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_FOREGROUND=248 | |
| 554 | + typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_FOREGROUND=101 | |
| 565 | 555 | # Duration format: 1d 2h 3m 4s. |
| 566 | 556 | typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_FORMAT='d h m s' |
| 567 | 557 | # Custom icon. |
| 568 | - typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_VISUAL_IDENTIFIER_EXPANSION= | |
| 558 | + # typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
| 569 | 559 | # Custom prefix. |
| 570 | - # typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_PREFIX='%248Ftook ' | |
| 560 | + # typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_PREFIX='%ftook ' | |
| 571 | 561 | |
| 572 | 562 | #######################[ background_jobs: presence of background jobs ]####################### |
| 573 | 563 | # Don't show the number of background jobs. |
| 574 | 564 | typeset -g POWERLEVEL9K_BACKGROUND_JOBS_VERBOSE=false |
| 575 | 565 | # Background jobs color. |
| 576 | - typeset -g POWERLEVEL9K_BACKGROUND_JOBS_FOREGROUND=37 | |
| 566 | + typeset -g POWERLEVEL9K_BACKGROUND_JOBS_FOREGROUND=70 | |
| 577 | 567 | # Custom icon. |
| 578 | 568 | # typeset -g POWERLEVEL9K_BACKGROUND_JOBS_VISUAL_IDENTIFIER_EXPANSION='⭐' |
| 579 | 569 | |
| @@ -671,7 +661,7 @@ | ||
| 671 | 661 | # .NET Core version from asdf. |
| 672 | 662 | typeset -g POWERLEVEL9K_ASDF_DOTNET_CORE_FOREGROUND=134 |
| 673 | 663 | # 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' | |
| 675 | 665 | |
| 676 | 666 | # Flutter version from asdf. |
| 677 | 667 | typeset -g POWERLEVEL9K_ASDF_FLUTTER_FOREGROUND=38 |
| @@ -806,22 +796,6 @@ | ||
| 806 | 796 | # Custom icon. |
| 807 | 797 | # typeset -g POWERLEVEL9K_DISK_USAGE_VISUAL_IDENTIFIER_EXPANSION='⭐' |
| 808 | 798 | |
| 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 | - | |
| 825 | 799 | ######################################[ ram: free RAM ]####################################### |
| 826 | 800 | # RAM color. |
| 827 | 801 | typeset -g POWERLEVEL9K_RAM_FOREGROUND=66 |
| @@ -948,7 +922,7 @@ | ||
| 948 | 922 | # Custom icon. |
| 949 | 923 | # typeset -g POWERLEVEL9K_CONTEXT_VISUAL_IDENTIFIER_EXPANSION='⭐' |
| 950 | 924 | # Custom prefix. |
| 951 | - # typeset -g POWERLEVEL9K_CONTEXT_PREFIX='%248Fwith ' | |
| 925 | + # typeset -g POWERLEVEL9K_CONTEXT_PREFIX='%fwith ' | |
| 952 | 926 | |
| 953 | 927 | ###[ virtualenv: python virtual environment (https://docs.python.org/3/library/venv.html) ]### |
| 954 | 928 | # Python virtual environment color. |
| @@ -1255,45 +1229,6 @@ | ||
| 1255 | 1229 | # Custom icon. |
| 1256 | 1230 | # typeset -g POWERLEVEL9K_HASKELL_STACK_VISUAL_IDENTIFIER_EXPANSION='⭐' |
| 1257 | 1231 | |
| 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 | - | |
| 1297 | 1232 | #############[ kubecontext: current kubernetes context (https://kubernetes.io/) ]############# |
| 1298 | 1233 | # Show kubecontext only when the command you are typing invokes one of these tools. |
| 1299 | 1234 | # Tip: Remove the next line to always show kubecontext. |
| @@ -1379,7 +1314,46 @@ | ||
| 1379 | 1314 | POWERLEVEL9K_KUBECONTEXT_DEFAULT_CONTENT_EXPANSION+='${${:-/$P9K_KUBECONTEXT_NAMESPACE}:#/default}' |
| 1380 | 1315 | |
| 1381 | 1316 | # 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='⭐' | |
| 1383 | 1357 | |
| 1384 | 1358 | #[ aws: aws profile (https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html) ]# |
| 1385 | 1359 | # Show aws only when the command you are typing invokes one of these tools. |
| @@ -1569,7 +1543,7 @@ | ||
| 1569 | 1543 | # Custom icon. |
| 1570 | 1544 | # typeset -g POWERLEVEL9K_TOOLBOX_VISUAL_IDENTIFIER_EXPANSION='⭐' |
| 1571 | 1545 | # Custom prefix. |
| 1572 | - # typeset -g POWERLEVEL9K_TOOLBOX_PREFIX='%248Fin ' | |
| 1546 | + # typeset -g POWERLEVEL9K_TOOLBOX_PREFIX='%fin ' | |
| 1573 | 1547 | |
| 1574 | 1548 | ###############################[ public_ip: public IP address ]############################### |
| 1575 | 1549 | # Public IP color. |
| @@ -1608,7 +1582,7 @@ | ||
| 1608 | 1582 | # P9K_IP_TX_BYTES_DELTA | number of bytes sent since last prompt |
| 1609 | 1583 | # P9K_IP_RX_RATE | receive rate (since last prompt) |
| 1610 | 1584 | # 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}' | |
| 1612 | 1586 | # Show information for the first network interface whose name matches this regular expression. |
| 1613 | 1587 | # Run `ifconfig` or `ip -4 a show` to see the names of all network interfaces. |
| 1614 | 1588 | typeset -g POWERLEVEL9K_IP_INTERFACE='[ew].*' |
| @@ -1670,9 +1644,9 @@ | ||
| 1670 | 1644 | # behavior where they contain the end times of their preceding commands. |
| 1671 | 1645 | typeset -g POWERLEVEL9K_TIME_UPDATE_ON_COMMAND=false |
| 1672 | 1646 | # Custom icon. |
| 1673 | - typeset -g POWERLEVEL9K_TIME_VISUAL_IDENTIFIER_EXPANSION= | |
| 1647 | + # typeset -g POWERLEVEL9K_TIME_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
| 1674 | 1648 | # Custom prefix. |
| 1675 | - # typeset -g POWERLEVEL9K_TIME_PREFIX='%248Fat ' | |
| 1649 | + # typeset -g POWERLEVEL9K_TIME_PREFIX='%fat ' | |
| 1676 | 1650 | |
| 1677 | 1651 | # Example of a user-defined prompt segment. Function prompt_example will be called on every |
| 1678 | 1652 | # prompt if `example` prompt segment is added to POWERLEVEL9K_LEFT_PROMPT_ELEMENTS or |
| @@ -1725,7 +1699,7 @@ | ||
| 1725 | 1699 | # - verbose: Enable instant prompt and print a warning when detecting console output during |
| 1726 | 1700 | # zsh initialization. Choose this if you've never tried instant prompt, haven't |
| 1727 | 1701 | # 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 | |
| 1729 | 1703 | |
| 1730 | 1704 | # Hot reload allows you to change POWERLEVEL9K options after Powerlevel10k has been initialized. |
| 1731 | 1705 | # 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" | ||
| 3 | 3 | set -g xterm-keys on |
| 4 | 4 | set -g allow-passthrough on |
| 5 | 5 | 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 | |
| 7 | 8 | |
| 8 | 9 | # Enable clipboard for wayland |
| 9 | 10 | set-option -g set-clipboard on |
| @@ -70,12 +71,19 @@ bind c new-window -c "#{pane_current_path}" | ||
| 70 | 71 | bind x kill-pane |
| 71 | 72 | bind & kill-window |
| 72 | 73 | |
| 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 | + | |
| 73 | 82 | # 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 | |
| 75 | 84 | 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 | |
| 77 | 86 | 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 | |
| 79 | 87 | bind u display-popup -E -w 95% -h 95% -T "Upload Dotfiles" -d "$HOME/.dotfiles" "$HOME/.dotfiles/sync-then-lazygit.sh" |
| 80 | 88 | |
| 81 | 89 | # List of plugins |
| @@ -85,6 +93,9 @@ set -g @plugin 'tmux-plugins/tmux-resurrect' | ||
| 85 | 93 | set -g @plugin 'tmux-plugins/tmux-continuum' |
| 86 | 94 | set -g @plugin 'erikw/tmux-powerline' |
| 87 | 95 | 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' | |
| 88 | 99 | |
| 89 | 100 | # Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) |
| 90 | 101 | run '~/.tmux/plugins/tpm/tpm' |