diff options
author | Raúl Benencia <rul@kalgan.cc> | 2019-08-04 10:20:46 -0700 |
---|---|---|
committer | Raúl Benencia <rul@kalgan.cc> | 2019-08-04 10:20:46 -0700 |
commit | e3b421c86bb49fd3d44e88867aeb99d5b7d53319 (patch) | |
tree | a5780ef7c5adfefbc9fdc1eacaa41e454acadee5 /.config | |
parent | 826c03929d034f9fbbc8e580a94eb4399930af22 (diff) |
audio and brightness buttons
Diffstat (limited to '.config')
-rw-r--r-- | .config/i3/config | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/.config/i3/config b/.config/i3/config index f3c8e49..a7b52a0 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -136,10 +136,14 @@ bindsym $mod+Shift+r restart # exit i3 (logs you out of your X session) bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'" -#change volume -bindsym XF86AudioRaiseVolume exec amixer -q set Master 5%+ -bindsym XF86AudioLowerVolume exec amixer -q set Master 5%- -bindsym XF86AudioMute exec amixer set Master toggle +# Pulse Audio controls +bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5% #increase sound volume +bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5% #decrease sound volume +bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle # mute sound + +# Sreen brightness controls +bindsym XF86MonBrightnessUp exec xbacklight -inc 20 # increase screen brightness +bindsym XF86MonBrightnessDown exec xbacklight -dec 20 # decrease screen brightness # music control bindsym XF86AudioNext exec mpc next |