.i3/volume_ctrl@f7fa87987e4f
.i3/volume_ctrl
Wed, 02 Jul 2014 20:03:10 -0400
- author
- Meredith Howard <mhoward@roomag.org>
- date
- Wed, 02 Jul 2014 20:03:10 -0400
- branch
- mhoward-lt
- changeset 108
- f7fa87987e4f
- parent 38
-
89149f81e6d7
- permissions
- -rwxr-xr-x
Merge from default
#!/usr/bin/env ruby
cmd = ARGV.shift
if cmd == 'up'
system 'amixer -q set Master 5%+ unmute'
elsif cmd == 'down'
system 'amixer -q set Master 5%- unmute'
elsif cmd == 'mute'
system 'amixer -q set Master toggle'
end
# nudge i3stats for an update
system 'killall -USR1 i3status'