summaryrefslogtreecommitdiff
path: root/volsv
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2020-12-12 23:45:44 -0600
committerzachir <zachir@librem.one>2020-12-12 23:45:44 -0600
commit491ccb4595350dd666f656b09f6cb90781c6ae64 (patch)
tree89f96e49349ea7568921ca657724f70b75c05f3d /volsv
parentdd19408b4dd5d9fda358fcfd93bb8a5134eacf29 (diff)
Move some keybindings to sxhkd (leave volsv, just uncomment config lines to use as normal)
Diffstat (limited to 'volsv')
-rwxr-xr-xvolsv3
1 files changed, 1 insertions, 2 deletions
diff --git a/volsv b/volsv
index 2732a1c..9e62a7c 100755
--- a/volsv
+++ b/volsv
@@ -14,8 +14,7 @@ alsasv () {
"up" | "-i") amixer sset Master 5%+ ;;
"down" | "-d") amixer sset Master 5%- ;;
"toggle" | "-t") amixer sset Master toggle ;;
- "mic" | "-m") amixer set Capture toggle ;;
esac
}
# check which it is
-[ ! -z "$(pgrep pulseaudio)" ] && pulsesv $1 || alsasv $1 ; pkill -RTMIN+10 dwmblocks ; touch /tmp/volsv.tmp
+[ ! -z $(pgrep pulseaudio) ] && pulsesv $1 || alsasv $1 ; pkill -RTMIN+10 dwmblocks