diff options
Diffstat (limited to 'Window_Manager/ratpoison')
-rw-r--r-- | Window_Manager/ratpoison/ratpoisonrc.conf | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Window_Manager/ratpoison/ratpoisonrc.conf b/Window_Manager/ratpoison/ratpoisonrc.conf index 7dc91d1..70430fb 100644 --- a/Window_Manager/ratpoison/ratpoisonrc.conf +++ b/Window_Manager/ratpoison/ratpoisonrc.conf @@ -171,8 +171,8 @@ definekey top KP_Enter exec ~/Dropbox/speech/run-duplex.sh #------------------------------------------------------------- # Volume Control #------------------------------------------------------------- -alias volup exec pactl set-sink-volume `pactl list sinks short | perl -ne '/^(\d*)/; $x=$1; END { print $x }'` +2% && volume -f 'V%i' > /tmp/panel-fifo -alias voldown exec pactl set-sink-volume `pactl list sinks short | perl -ne '/^(\d*)/; $x=$1; END { print $x }'` -2% && volume -f 'V%i' > /tmp/panel-fifo +alias volup exec pactl set-sink-volume `pactl list sinks short | perl -ne '/^(\d*)/; $x=$1; END { print $x }'` +2% && echo "V$(pamixer --sink 9 --get-volume)" > /tmp/panel-fifo +alias voldown exec pactl set-sink-volume `pactl list sinks short | perl -ne '/^(\d*)/; $x=$1; END { print $x }'` -2% && echo "V$(pamixer --sink 9 --get-volume)" > /tmp/panel-fifo alias spvolup exec pactl set-sink-input-volume `.config/ratpoison/get_spotify_sink` +2% alias spvoldown exec pactl set-sink-input-volume `.config/ratpoison/get_spotify_sink` -2% |