From 9d543f98b182cfa04577dca7b31746eb5fdc5596 Mon Sep 17 00:00:00 2001 From: krolxon Date: Mon, 20 Oct 2025 16:03:00 +0530 Subject: [PATCH] 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` --- .config/hypr/hyprland.conf | 4 ++-- .config/nsxiv/exec/key-handler | 2 +- .config/swaync/style.css | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 585cbe2..2e9c088 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -14,7 +14,7 @@ $browser = librewolf ################# exec-once = foot --server exec-once = (hyprpm reload -n & kanshi & waybar & swaync & gammastep & hypridle) -exec-once = ~/.local/bin/setwall +exec-once = ~/.local/bin/setwall -n exec-once = systemctl --user start hyprpolkitagent plugin { @@ -217,7 +217,7 @@ bind = $mainMod, W, exec, $browser bind = ,PRINT, exec, screenshot # Music Controls -bind = $mainMod, m, exec, $terminal -e "ncmpcpp" +bind = $mainMod, m, exec, $terminal -e zsh -i -c "ncmpcpp" bind = $mainMod, p, exec, mpc toggle binde = $mainMod, comma, exec, mpc seek -10 binde = $mainMod, period, exec, mpc seek +10 diff --git a/.config/nsxiv/exec/key-handler b/.config/nsxiv/exec/key-handler index 592cec4..0f9cee7 100755 --- a/.config/nsxiv/exec/key-handler +++ b/.config/nsxiv/exec/key-handler @@ -5,7 +5,7 @@ do case "$1" in "d") [ "$(printf "No\\nYes" | dmenu -i -p "Really delete $file?")" = "Yes" ] && rm "$file" && notify-send "$file deleted." ;; -"w") setwall -p $(realpath $file);; +"w") setwall -p $file;; "c") cat "$file" | xclip -sel c -t image/png && notify-send "$file Copied ";; esac done diff --git a/.config/swaync/style.css b/.config/swaync/style.css index 29e2d30..6a19afc 100644 --- a/.config/swaync/style.css +++ b/.config/swaync/style.css @@ -59,7 +59,7 @@ } .notification-group .notification-group-headers .notification-group-header { - font-size: 20px; + font-size: 12px; margin-left: 3px; }