diff options
author | Vasil Zlatanov <v@skozl.com> | 2019-10-28 23:17:12 +0000 |
---|---|---|
committer | Vasil Zlatanov <v@skozl.com> | 2019-10-28 23:17:12 +0000 |
commit | f54e155ee55d571289c8bb14d6c5ed9dd3832f66 (patch) | |
tree | 1ecd4b08ebf94cbbd3d927d986f577efec8cd193 /Window_Manager | |
parent | 71f4a371296abdf48586fdd608480c75310b708e (diff) | |
parent | 4080a8ba826cc52297aa0174d03fb8534e45246e (diff) | |
download | dotfiles-f54e155ee55d571289c8bb14d6c5ed9dd3832f66.tar.gz dotfiles-f54e155ee55d571289c8bb14d6c5ed9dd3832f66.tar.bz2 dotfiles-f54e155ee55d571289c8bb14d6c5ed9dd3832f66.zip |
Merge branch 'master' of ssh://skozl.com:/srv/git/dotfiles
Diffstat (limited to 'Window_Manager')
-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% |