From 5d1cf93b46f0bdba2fcb266d8d069b3c7f8f0d66 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Tue, 17 Sep 2024 18:37:32 +0800 Subject: improvements, waybar, hyprlock --- dot-config/hypr/binds.conf | 25 +++---------------------- 1 file changed, 3 insertions(+), 22 deletions(-) (limited to 'dot-config/hypr/binds.conf') diff --git a/dot-config/hypr/binds.conf b/dot-config/hypr/binds.conf index 7bd81fd7..99bdaf34 100644 --- a/dot-config/hypr/binds.conf +++ b/dot-config/hypr/binds.conf @@ -80,7 +80,7 @@ bind = $mainMod, q, killactive bind = $mainMod shift, q, exec, kill -9 $(hyprctl activewindow | grep pid | tail -1 | awk '{print$2}') bind = ctrl alt, escape, exec, hyprctl kill bind = ctrl $mainMod shift, r, exec, systemctl restart $sessionManager -bind = ctrl $mainMod, escape, exec, killall waybar; waybar +bind = ctrl $mainMod, escape, exec, killall -SIGUSR2 waybar # bind = ctrl, up, hyprexpo:expo, on # bind = ctrl, down, hyprexpo:expo, off # bind = ctrl, up, overview:open @@ -89,27 +89,8 @@ bind = ctrl $mainMod, escape, exec, killall waybar; waybar # bind = alt, grave, exec, hyprswitch gui --reverse # bindr = alt, tab, exec, hyprswitch close # bindr = alt, grave, exec, hyprswitch close -# allows repeated switching with same keypress that starts the submap -binde = alt, tab, exec, hyprswitch gui --do-initial-execute -bind = alt, tab, submap, switch - -# allows repeated switching with same keypress that starts the submap -binde = alt grave, tab, exec, hyprswitch gui --do-initial-execute -r -bind = alt grave, tab, submap, switch - -submap = switch -# allow repeated window switching in submap (same keys as repeating while starting) -binde = alt, tab, exec, hyprswitch gui -binde = alt grave, tab, exec, hyprswitch gui -r - -# exit submap and stop hyprswitch -bindrt = alt, tab, exec, hyprswitch close -bindrt = alt, tab, submap, reset - -# if it somehow doesn't close on releasing $switch_release, escape can kill (doesnt switch) -bindr = ,escape, exec, hyprswitch close --kill -bindr = ,escape, submap, reset -submap = reset +bind = alt, tab, exec, /home/system/.cargo/bin/hyprswitch gui --mod-key alt_l --key tab --close mod-key-release && hyprswitch dispatch +bind = alt shift, tab, exec, /home/system/.cargo/bin/hyprswitch gui --mod-key alt_l --key tab --close mod-key-release && hyprswitch dispatch -r # restart bar bind = ctrl alt, left, workspace, -1 -- cgit v1.2.3