summaryrefslogtreecommitdiff
path: root/dot-config/hypr/binds.conf
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2025-07-05 13:24:36 +0800
committerlittleblack111 <littleblack11111@gmail.com>2025-07-05 13:24:36 +0800
commitc0aa58b09876eee82b6df2c27a993a42db0bec9d (patch)
treef244798f4f14b91406b21d3b6c397a5fee4cc4f9 /dot-config/hypr/binds.conf
parent3f8159bd6fd193a252c9de73dec1ac742d34dc79 (diff)
bump: hyprland
Diffstat (limited to 'dot-config/hypr/binds.conf')
-rw-r--r--dot-config/hypr/binds.conf43
1 files changed, 26 insertions, 17 deletions
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