diff --git a/system/global/scripts/brightness-down b/system/global/scripts/brightness-down new file mode 100755 index 0000000..a24fe3d --- /dev/null +++ b/system/global/scripts/brightness-down @@ -0,0 +1,5 @@ +#!/bin/sh + +light -U 10 +notify-send "Brightness" -h int:value:$(light) -a brightness-down -t 1000 + diff --git a/system/global/scripts/brightness-up b/system/global/scripts/brightness-up new file mode 100755 index 0000000..35682f1 --- /dev/null +++ b/system/global/scripts/brightness-up @@ -0,0 +1,5 @@ +#!/bin/sh + +light -A 10 +notify-send "Brightness" -h int:value:$(light) -a brightness-up -t 1000 + diff --git a/system/work/config/hypr.conf b/system/work/config/hypr.conf index 47a1e3b..1872ca6 100644 --- a/system/work/config/hypr.conf +++ b/system/work/config/hypr.conf @@ -79,11 +79,13 @@ bind=SUPER,d,exec,wofi --show drun bind=SUPER_SHIFT,P,exec,~/.local/scripts/bwmenu bind=SUPER,apostrophe,exec,notify-send -i mpv "$(playerctl metadata --format '{{title}}')" "$(playerctl metadata --format '{{album}}')" -t 3000 bind=SUPER_SHIFT,E,exit, -bind=,XF86AudioRaiseVolume,exec,amixer -D pulse sset Master 5%+ && amixer sset Master unmute -bind=,XF86AudioLowerVolume,exec,amixer -D pulse sset Master 5%- +bind=,XF86AudioRaiseVolume,exec,amixer sset Master 5%+ && amixer sset Master unmute +bind=,XF86AudioLowerVolume,exec,amixer sset Master 5%- bind=,XF86AudioPlay,exec,~/.local/scripts/play-pause bind=,XF86AudioNext,exec,playerctl next bind=,XF86AudioPrev,exec,playerctl previous +bind=,XF86MonBrightnessUp,exec,~/.local/scripts/brightness-up +bind=,XF86MonBrightnessDown,exec,~/.local/scripts/brightness-down bind=SUPER,h,movefocus,l bind=SUPER,l,movefocus,r