From de72f78d965e4cb0b019b35b52df136409a29f73 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Tue, 31 Dec 2024 17:21:22 +0800 Subject: binds: keybind update feat: minimized now collab with waybar to display --- dot-config/hypr/binds.conf | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'dot-config') diff --git a/dot-config/hypr/binds.conf b/dot-config/hypr/binds.conf index b60ef140..250041f6 100644 --- a/dot-config/hypr/binds.conf +++ b/dot-config/hypr/binds.conf @@ -74,7 +74,7 @@ bind = ,XF86AudioStop, execr, playerctl -p spotify stop bind = ,XF86PowerOff, execr, $rofiexec/rofi_shutdown # Pause -bind = ,Pause, execr, hyprfreeze -s -a +bind = $mod, Pause, execr, hyprfreeze -s -a # Print bind = ,Print, execr, $HOME/scripts/hyprshot --now @@ -87,21 +87,21 @@ bind = ,XF86MonBrightnessDown, execr, $HOME/scripts/sysutil.sh brightness --dec # Window management # bind = $mod, d, execr, $HOME/scripts/hyprhide h # bind = $mod, i, execr, $HOME/scripts/hyprhide s -bind = $mod, d, movetoworkspacesilent, special:minimized +bind = $mod, d, execr, hyprctl dispatch movetoworkspacesilent special:minimized; pkill -RTMIN+5 waybar bind = $mod, i, togglespecialworkspace, minimized -bind = $mod, i, movetoworkspace, +0 +bind = $mod, i, execr, hyprctl dispatch movetoworkspace +0; pkill -RTMIN+5 waybar bind = $mod, q, killactive bind = $mod shift, q, execr, kill -9 $(hyprctl activewindow | grep pid | tail -1 | awk '{print$2}') bind = ctrl alt, escape, execr, hyprctl kill -bind = ctrl $mod shift, r, execr, systemctl restart $sessionManager +bind = ctrl $mod shift, r, execr, hyprctl reload # restart bar bind = ctrl $mod, escape, execr, killall -SIGUSR2 waybar || waybar & # reload wall bind = $mod alt, b, execr, killall wallust; killall mpvpaper.sh; $SCRIPTSDIR/mpvpaper.sh # bind = ctrl, up, hyprexpo:expo, on # bind = ctrl, down, hyprexpo:expo, off -bind = ctrl $mod alt, up, overview:open -bind = ctrl $mod alt, down, overview:close +# bind = ctrl $mod alt, up, overview:open +# bind = ctrl $mod alt, down, overview:close # bind = alt, tab, execr, hyprswitch gui # bind = alt, grave, execr, hyprswitch gui --reverse # bindr = alt, tab, execr, hyprswitch close @@ -142,7 +142,6 @@ binde = shift alt, down, moveactive, 0 20 bind = $mod, equal, execr, /bin/bash -c "hyprctl keyword cursor:zoom_factor $(($(hyprctl getoption cursor:zoom_factor | awk '/float/ {print $2}')+0.1))" # spotify lyrics ig -bind = $mod, shift, j, setfloating, class:Spotify bind = $mod shift, j, execr, $SCRIPTSDIR/togglespot.sh # window shortcuts @@ -214,7 +213,7 @@ bindri = ,mouse:276, execr, kill $(pgrep -f autoclicker-right) # bindri = ,mouse:275, execr, kill $(pgrep -f autoclicker-right) # chroma -bind = $mod, O, togglechromakey +# bind = $mod, O, togglechromakey # input capture bind = $mod SHIFT, escape, releaseinputcapture -- cgit v1.2.3