Krolyxon
Commit 9d543f9

Branches

Refs →

aurora9d543f9

hyprland: open ncmpcpp with interactive zsh

Since we are loading the pywal colors through zsh,
doing `foot -e ncmpcpp` will bypass the interactive shell commands
so instead use `foot -e zsh -i -c ncmpcpp`
Author
krolxon
Date
2025-10-20 16:03 +0530
Parent
7625ce3
Commit
9d543f98b182cfa04577dca7b31746eb5fdc5596

+4 −4

3 files changed

  1. M .config/hypr/hyprland.conf +2 −2
  2. M .config/nsxiv/exec/key-handler +1 −1
  3. M .config/swaync/style.css +1 −1
M .config/hypr/hyprland.conf View
@@ -14,7 +14,7 @@ $browser = librewolf
1414 #################
1515 exec-once = foot --server
1616 exec-once = (hyprpm reload -n & kanshi & waybar & swaync & gammastep & hypridle)
17−exec-once = ~/.local/bin/setwall
17+exec-once = ~/.local/bin/setwall -n
1818 exec-once = systemctl --user start hyprpolkitagent
1919
2020 plugin {
@@ -217,7 +217,7 @@ bind = $mainMod, W, exec, $browser
217217 bind = ,PRINT, exec, screenshot
218218
219219 # Music Controls
220−bind = $mainMod, m, exec, $terminal -e "ncmpcpp"
220+bind = $mainMod, m, exec, $terminal -e zsh -i -c "ncmpcpp"
221221 bind = $mainMod, p, exec, mpc toggle
222222 binde = $mainMod, comma, exec, mpc seek -10
223223 binde = $mainMod, period, exec, mpc seek +10
M .config/nsxiv/exec/key-handler View
@@ -5,7 +5,7 @@ do
55 case "$1" in
66 "d")
77 [ "$(printf "No\\nYes" | dmenu -i -p "Really delete $file?")" = "Yes" ] && rm "$file" && notify-send "$file deleted." ;;
8−"w") setwall -p $(realpath $file);;
8+"w") setwall -p $file;;
99 "c") cat "$file" | xclip -sel c -t image/png && notify-send "$file Copied ";;
1010 esac
1111 done
M .config/swaync/style.css View
@@ -59,7 +59,7 @@
5959 }
6060
6161 .notification-group .notification-group-headers .notification-group-header {
62− font-size: 20px;
62+ font-size: 12px;
6363 margin-left: 3px;
6464 }
6565