From c213ce0fe2580e0147275b90d3fef2d4574d9f5a Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Thu, 27 Feb 2025 18:51:59 +0800 Subject: binds: directly use hyprsunset gamma instead of calling sysutil.sh --- dot-config/hypr/binds.conf | 7 +++++-- 1 file 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 -- cgit v1.2.3