From e3b421c86bb49fd3d44e88867aeb99d5b7d53319 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Benencia?= Date: Sun, 4 Aug 2019 10:20:46 -0700 Subject: audio and brightness buttons --- .config/i3/config | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to '.config') 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 -- cgit v1.2.3