From 45f2f78b7c579b1dcf9c2f471bc343558eb3c08d Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Sat, 9 Nov 2024 00:15:26 +0800 Subject: revert: use normal hyprswitch instead of cargo path change: keybind repeats for moving, volume etc --- dot-config/hypr/binds.conf | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/dot-config/hypr/binds.conf b/dot-config/hypr/binds.conf index 49e501f6..d1182e5f 100644 --- a/dot-config/hypr/binds.conf +++ b/dot-config/hypr/binds.conf @@ -59,8 +59,8 @@ bind = alt, XF86AudioMute, execr, $HOME/scripts/sysutil.sh screenshot --in5sec bind = $mainMod shift, s, execr, $HOME/scripts/sysutil.sh screenshot --area # Volume -bind = ,XF86AudioRaiseVolume, execr, $HOME/scripts/sysutil.sh volume --inc -bind = ,XF86AudioLowerVolume, execr, $HOME/scripts/sysutil.sh volume --dec +binde = ,XF86AudioRaiseVolume, execr, $HOME/scripts/sysutil.sh volume --inc +binde = ,XF86AudioLowerVolume, execr, $HOME/scripts/sysutil.sh volume --dec bind = ,XF86AudioMute, execr, $HOME/scripts/sysutil.sh volume --toggle bind = ,XF86AudioMicMute, execr, $HOME/scripts/sysutil.sh volume --toggle-mic bind = ,XF86AudioNext, execr, playerctl -p spotify next @@ -102,8 +102,8 @@ bind = ctrl $mainMod alt, down, overview:close # bind = alt, grave, execr, hyprswitch gui --reverse # bindr = alt, tab, execr, hyprswitch close # bindr = alt, grave, execr, hyprswitch close -bind = alt, tab, execr, /home/system/.cargo/bin/hyprswitch gui --mod-key alt_l --key tab --close mod-key-release --reverse-key=key=grave && hyprswitch dispatch -bind = alt, grave, execr, /home/system/.cargo/bin/hyprswitch gui --mod-key alt_l --key tab --close mod-key-release --reverse-key=key=grave && hyprswitch dispatch -r +bind = alt, tab, execr, hyprswitch gui --mod-key alt_l --key tab --close mod-key-release --reverse-key=key=grave && hyprswitch dispatch +bind = alt, grave, execr, hyprswitch gui --mod-key alt_l --key tab --close mod-key-release --reverse-key=key=grave && hyprswitch dispatch -r binde = ctrl alt, left, workspace, -1 binde = ctrl alt, right, workspace, +1 @@ -141,15 +141,15 @@ bind = $mainMod shift, space, pseudo, # dwindle bind = $mainMod shift, m, togglesplit, # dwindle # Move focus with mainMod + arrow keys -bind = $mainMod, left, movefocus, l -bind = $mainMod, right, movefocus, r -bind = $mainMod, up, movefocus, u -bind = $mainMod, down, movefocus, d +binde = $mainMod, left, movefocus, l +binde = $mainMod, right, movefocus, r +binde = $mainMod, up, movefocus, u +binde = $mainMod, down, movefocus, d # vim binds -bind = $mainMod, h, movefocus, l -bind = $mainMod, l, movefocus, r -bind = $mainMod, k, movefocus, u -bind = $mainMod, j, movefocus, d +binde = $mainMod, h, movefocus, l +binde = $mainMod, l, movefocus, r +binde = $mainMod, k, movefocus, u +binde = $mainMod, j, movefocus, d # Switch workspaces with mainMod + [0-9] bind = $mainMod, 1, workspace, 1 @@ -194,7 +194,7 @@ bindri = ,mouse:275, execr, kill $(pgrep -f autoclicker-left) bindri = ,mouse:276, execr, kill $(pgrep -f autoclicker-right) # Make group -bind = $mainMod, g, togglegroup +# bind = $mainMod, g, togglegroup # bindie = ,mouse:276, execr, wlrctl pointer click # bindie = ,mouse:275, execr, wlrctl pointer click right -- cgit v1.2.3