brightness and volume control
This commit is contained in:
parent
a72fdaa3af
commit
5a782b0056
3 changed files with 14 additions and 2 deletions
5
system/global/scripts/brightness-down
Executable file
5
system/global/scripts/brightness-down
Executable file
|
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
light -U 10
|
||||||
|
notify-send "Brightness" -h int:value:$(light) -a brightness-down -t 1000
|
||||||
|
|
||||||
5
system/global/scripts/brightness-up
Executable file
5
system/global/scripts/brightness-up
Executable file
|
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
light -A 10
|
||||||
|
notify-send "Brightness" -h int:value:$(light) -a brightness-up -t 1000
|
||||||
|
|
||||||
|
|
@ -79,11 +79,13 @@ bind=SUPER,d,exec,wofi --show drun
|
||||||
bind=SUPER_SHIFT,P,exec,~/.local/scripts/bwmenu
|
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,apostrophe,exec,notify-send -i mpv "$(playerctl metadata --format '{{title}}')" "$(playerctl metadata --format '{{album}}')" -t 3000
|
||||||
bind=SUPER_SHIFT,E,exit,
|
bind=SUPER_SHIFT,E,exit,
|
||||||
bind=,XF86AudioRaiseVolume,exec,amixer -D pulse sset Master 5%+ && amixer sset Master unmute
|
bind=,XF86AudioRaiseVolume,exec,amixer sset Master 5%+ && amixer sset Master unmute
|
||||||
bind=,XF86AudioLowerVolume,exec,amixer -D pulse sset Master 5%-
|
bind=,XF86AudioLowerVolume,exec,amixer sset Master 5%-
|
||||||
bind=,XF86AudioPlay,exec,~/.local/scripts/play-pause
|
bind=,XF86AudioPlay,exec,~/.local/scripts/play-pause
|
||||||
bind=,XF86AudioNext,exec,playerctl next
|
bind=,XF86AudioNext,exec,playerctl next
|
||||||
bind=,XF86AudioPrev,exec,playerctl previous
|
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,h,movefocus,l
|
||||||
bind=SUPER,l,movefocus,r
|
bind=SUPER,l,movefocus,r
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue