summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2025-02-27 18:51:59 +0800
committerlittleblack111 <littleblack11111@gmail.com>2025-02-27 18:51:59 +0800
commitc213ce0fe2580e0147275b90d3fef2d4574d9f5a (patch)
treefda3d5f43b2713f5176768ef9ddbbe793964090f
parentb459f73ca3a28f897e4febaaaa1e445f702c32a5 (diff)
binds: directly use hyprsunset gamma instead of calling sysutil.sh
-rw-r--r--dot-config/hypr/binds.conf7
1 files changed, 5 insertions, 2 deletions
diff --git a/dot-config/hypr/binds.conf b/dot-config/hypr/binds.conf
index a13fd3b8..4702bbe3 100644
--- a/dot-config/hypr/binds.conf
+++ b/dot-config/hypr/binds.conf
@@ -80,8 +80,11 @@ 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
+# 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