aboutsummaryrefslogtreecommitdiff
path: root/Window_Manager/ratpoison
diff options
context:
space:
mode:
authorVasil Zlatanov <v@skozl.com>2017-09-20 01:07:11 +0100
committerVasil Zlatanov <v@skozl.com>2017-09-20 01:07:11 +0100
commit0a2b2620a15b06a2d0d28eeed1185263278b765f (patch)
tree186c8a078ed4d1443f4780017ade158bbeda01b2 /Window_Manager/ratpoison
parenteafd7f9c5a0ed464c5189880988e7da5959200c7 (diff)
downloaddotfiles-0a2b2620a15b06a2d0d28eeed1185263278b765f.tar.gz
dotfiles-0a2b2620a15b06a2d0d28eeed1185263278b765f.tar.bz2
dotfiles-0a2b2620a15b06a2d0d28eeed1185263278b765f.zip
let amixer work with pulseaudio
Diffstat (limited to 'Window_Manager/ratpoison')
-rw-r--r--Window_Manager/ratpoison/ratpoisonrc.conf12
1 files changed, 6 insertions, 6 deletions
diff --git a/Window_Manager/ratpoison/ratpoisonrc.conf b/Window_Manager/ratpoison/ratpoisonrc.conf
index 4d592f4..02abfc2 100644
--- a/Window_Manager/ratpoison/ratpoisonrc.conf
+++ b/Window_Manager/ratpoison/ratpoisonrc.conf
@@ -106,7 +106,7 @@ bind V hsplit 2/3
bind s vsplit
bind S vsplit 2/3
bind d remove
-bind space exec urxvt
+bind space exec qterminal
bind o only
bind semicolon colon
bind e exec
@@ -177,23 +177,23 @@ definekey top KP_Enter exec ~/Dropbox/speech/run-duplex.sh
# Volume Control
#-------------------------------------------------------------
# Up
-#alias volup exec amixer -q set Master 5+ && ratpoison -c "echo `$HOME/.config/ratpoison/volind`" & volume -f 'V%i' > /tmp/panel-fifo
-alias volup exec amixer -q set Master 5+ && volume -f 'V%i' > /tmp/panel-fifo
+#alias volup exec amixer -D sysdefault -q set Master 5+ && ratpoison -c "echo `$HOME/.config/ratpoison/volind`" & volume -f 'V%i' > /tmp/panel-fifo
+alias volup exec amixer -D sysdefault -q set Master 5+ && volume -f 'V%i' > /tmp/panel-fifo
definekey top XF86AudioRaiseVolume volup
definekey top s-Prior volup
definekey top s-q volup
# Down
-#alias voldown exec amixer -q set Master 5- && ratpoison -c "echo `$HOME/.config/ratpoison/volind`" & volume -f 'V%i' > /tmp/panel-fifo
-alias voldown exec amixer -q set Master 5- && volume -f 'V%i' > /tmp/panel-fifo
+#alias voldown exec amixer -D sysdefault -q set Master 5- && ratpoison -c "echo `$HOME/.config/ratpoison/volind`" & volume -f 'V%i' > /tmp/panel-fifo
+alias voldown exec amixer -D sysdefault -q set Master 5- && volume -f 'V%i' > /tmp/panel-fifo
definekey top XF86AudioLowerVolume voldown
definekey top s-Next voldown
definekey top s-a voldown
# Mute
-alias voltoggle exec amixer -D pulse set Master toggle && ratpoison -c "echo Sound: `amixer get Master|awk '/Mono:/ {print $6}'`"
+alias voltoggle exec amixer -D sysdefault -D pulse set Master toggle && ratpoison -c "echo Sound: `amixer -D sysdefault get Master|awk '/Mono:/ {print $6}'`"
definekey top XF86AudioMute voltoggle
definekey top s-Pause voltoggle