From c0aa58b09876eee82b6df2c27a993a42db0bec9d Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Sat, 5 Jul 2025 13:24:36 +0800 Subject: bump: hyprland --- dot-config/hypr/binds.conf | 43 ++++++++++++++++++++++++++----------------- 1 file changed, 26 insertions(+), 17 deletions(-) (limited to 'dot-config/hypr/binds.conf') diff --git a/dot-config/hypr/binds.conf b/dot-config/hypr/binds.conf index 6f18b355..8783bae7 100644 --- a/dot-config/hypr/binds.conf +++ b/dot-config/hypr/binds.conf @@ -80,12 +80,10 @@ bind = $mod, Pause, execr, hyprfreeze -s -a bind = ,Print, execr, $HOME/scripts/hyprshot --now # Brightness -bind = ,XF86MonBrightnessUp, execr, $HOME/scripts/sysutil.sh brightness --inc -bind = ,XF86MonBrightnessDown, execr, $HOME/scripts/sysutil.sh brightness --dec -# binde = ,XF86MonBrightnessUp, execr, hyprctl hyprsunset gamma +5 -# binde = ,XF86MonBrightnessDown, execr, hyprctl hyprsunset gamma -5 - - +# bind = ,XF86MonBrightnessUp, execr, $HOME/scripts/sysutil.sh brightness --inc +# bind = ,XF86MonBrightnessDown, execr, $HOME/scripts/sysutil.sh brightness --dec +binde = ,XF86MonBrightnessUp, execr, hyprctl hyprsunset gamma +5 +binde = ,XF86MonBrightnessDown, execr, hyprctl hyprsunset gamma -5 # Window management # bind = $mod, d, execr, $HOME/scripts/hyprhide h @@ -137,17 +135,28 @@ binde = $mod shift, j, movewindow, d # binde = ctrl $mod, down, resizeactive, 0 20 # binde = ctrl $mod alt, space, setfloating, 1 # binde = ctrl $mod alt, space, centerwindow, 1 -binde = ctrl $mod alt, space, scroller:setsize, one +binde = ctrl $mod alt, space, scroller:setheight, one +binde = ctrl $mod alt, space, scroller:setwidth, one # binde = shift alt, left, moveactive, -20 0 # binde = shift alt, right, moveactive, 20 0 # binde = shift alt, up, moveactive, 0 -20 # binde = shift alt, down, moveactive, 0 20 -binde = ctrl $mod shift, h, scroller:movewindow, l -binde = ctrl $mod shift, h, scroller:setsize, onehalf -binde = ctrl $mod shift, h, scroller:movewindow, r -binde = ctrl $mod shift, h, scroller:movefocus, l -binde = ctrl $mod shift, h, scroller:movefocus, r -binde = ctrl $mod shift, l, scroller:setsize, onehalf +# binde = ctrl $mod shift, h, scroller:movewindow, l +# binde = ctrl $mod shift, h, scroller:setsize, onehalf +# binde = ctrl $mod shift, h, scroller:movewindow, r +# binde = ctrl $mod shift, h, scroller:movefocus, l +# binde = ctrl $mod shift, h, scroller:movefocus, r +# binde = ctrl $mod shift, l, scroller:setsize, onehalf +binde = ctrl $mod shift, l, scroller:cyclewidth, next +binde = ctrl $mod shift, h, scroller:cyclewidth, prev + +binde = ctrl $mod shift, j, scroller:cycleheight, next +binde = ctrl $mod shift, k, scroller:cycleheight, prev + +binde = $mod ctrl, h, scroller:admitwindow, l +binde = $mod ctrl, l, scroller:admitwindow, r +binde = $mod alt, h, scroller:expelwindow, r +binde = $mod alt, l, scroller:expelwindow, l bind = $mod, home, scroller:movefocus, begin bind = $mod, end, scroller:movefocus, end @@ -167,10 +176,10 @@ bind = $mod shift, m, togglesplit, # dwindle bind = $mod, s, pin # Move focus with mainMod + arrow keys -binde = $mod, h, scroller:movefocus, l -binde = $mod, l, scroller:movefocus, r -binde = $mod, k, scroller:movefocus, u -binde = $mod, j, scroller:movefocus, d +binde = $mod, h, movefocus, l +binde = $mod, l, movefocus, r +binde = $mod, k, movefocus, u +binde = $mod, j, movefocus, d bind = ctrl $mod, k, focuswindow, floating bind = ctrl $mod, j, focuswindow, tiled # vim binds -- cgit v1.2.3