Added small screen brightness script instead of having code inside .config/i3/config
Also added small func to generate a rndpassword
This commit is contained in:
@@ -129,8 +129,8 @@ bindsym $mod+Shift+q kill
|
||||
bindsym $mod+d exec --no-startup-id rofi -X -show run
|
||||
|
||||
# Screen brightness controls
|
||||
bindsym XF86MonBrightnessUp exec "xbacklight -inc 10; a=$(xbacklight | cut -d\. -f1)%; dunstify -r 1 'brightness up'\ \($a\)"
|
||||
bindsym XF86MonBrightnessDown exec "xbacklight -dec 10; a=$(xbacklight | cut -d\. -f1)%; dunstify -r 1 'brightness down'\ \($a\)"
|
||||
bindsym XF86MonBrightnessUp exec --no-startup-id ~/.scripts/screen.sh up
|
||||
bindsym XF86MonBrightnessDown exec --no-startup-id ~/.scripts/screen.sh down
|
||||
|
||||
# Pulse Audio controls
|
||||
bindsym XF86AudioLowerVolume exec --no-startup-id ~/.scripts/sound.sh down
|
||||
|
||||
Reference in New Issue
Block a user