added audio controls for dtarchaio

This commit is contained in:
David Thurstenson 2016-06-09 17:27:21 -05:00
parent 2d2535fd2f
commit 8cbdb9d7f0
3 changed files with 25 additions and 3 deletions

View File

@ -167,5 +167,20 @@ bar {
bindsym Mod1+Control+l exec i3lock -b -d -c 000000 -e -f
# Start all windows with no border. Still able to toggle through them with $mod+Shift+B
new_window none
new_float pixel
# Sreen brightness controls
bindsym XF86MonBrightnessUp exec xbacklight -inc 10 # increase screen brightness
bindsym XF86MonBrightnessDown exec xbacklight -dec 10 # decrease screen brightness
# Alsa Volume controls
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5% #increase sound volume
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -5% #decrease sound volume
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle # mute sound
# Music Player controls
bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause
bindsym XF86AudioNext exec --no-startup-id playerctl next
bindsym XF86AudioPrev exec --no-startup-id playerctl previous

View File

@ -164,11 +164,11 @@ bar {
tray_output primary
}
bindsym Mod1+Control+l exec slock
bindsym Mod1+Control+l exec i3lock -b -d -c 000000 -e -f
# Start all windows with no border. Still able to toggle through them with $mod+Shift+B
new_window none
new_float none
new_float pixel
# Sreen brightness controls
bindsym XF86MonBrightnessUp exec xbacklight -inc 10 # increase screen brightness

View File

@ -11,7 +11,8 @@ general {
interval = 5
}
#order += "ipv6"
order += "ipv6"
order += "volume master"
order += "disk /"
#order += "run_watch DHCP"
order += "run_watch SPVPN"
@ -55,3 +56,9 @@ load {
disk "/" {
format = "%avail"
}
volume master {
format = "🔈%volume"
format_muted = "🔇"
device = "pulse"
}