summaryrefslogtreecommitdiff
path: root/dot-config/hypr/binds.conf
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2024-09-17 18:37:32 +0800
committerlittleblack111 <littleblack11111@gmail.com>2024-09-17 18:37:32 +0800
commit5d1cf93b46f0bdba2fcb266d8d069b3c7f8f0d66 (patch)
tree6fa5f026b5231ad403cfbb288e83b421d5257cfd /dot-config/hypr/binds.conf
parent15518210a19fa8ba6d3a375150979541f94c1803 (diff)
improvements, waybar, hyprlock
Diffstat (limited to 'dot-config/hypr/binds.conf')
-rw-r--r--dot-config/hypr/binds.conf25
1 files changed, 3 insertions, 22 deletions
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