]> git.donarmstrong.com Git - x_base.git/commitdiff
add support for prev/next
authorDon Armstrong <don@donarmstrong.com>
Wed, 4 May 2016 16:45:05 +0000 (09:45 -0700)
committerDon Armstrong <don@donarmstrong.com>
Wed, 4 May 2016 16:45:14 +0000 (09:45 -0700)
.config/i3/config_base

index e9d12986840407e33790a65ad2a0b42bea03df6a..1dc205f137d2f163db4e55b6b7d8bb68da9019c9 100644 (file)
@@ -171,6 +171,8 @@ bindsym XF86AudioRaiseVolume exec --no-startup-id sh -c "pactl set-sink-volume `
 bindsym XF86AudioLowerVolume exec --no-startup-id sh -c "pactl set-sink-volume `pacmd list-sinks | awk -F': ' '/* index/{print $2}'` -5%" #decrease sound volume
 bindsym XF86AudioMute exec --no-startup-id sh -c "pactl set-sink-mute `pacmd list-sinks | awk -F': ' '/* index/{print $2}'` toggle" # mute sound
 bindsym XF86AudioMicMute exec --no-startup-id sh -c "pactl set-source-mute `pacmd list-sources | awk -F': ' '/* index/{print $2}'` toggle" # mute mic
+bindsym XF86AudioNext exec --no-startup-id mpc next
+bindsym XF86AudioPrev exec --no-startup-id mpc prev
 
 # brightness
 bindsym XF86MonBrightnessUp exec xbacklight -inc 5 # increase screen brightness
@@ -183,6 +185,6 @@ bindsym XF86WLAN exec sh -c "if /usr/sbin/rfkill list|grep -q 'blocked yes' \; t
 # Start i3bar to display a workspace bar (plus the system information i3status
 # finds out, if available)
 bar {
-        status_command i3status
-        tray_output primary
+         status_command i3status
+         tray_output primary
 }