diff options
author | zachir <zachir@librem.one> | 2020-12-12 23:45:44 -0600 |
---|---|---|
committer | zachir <zachir@librem.one> | 2020-12-12 23:45:44 -0600 |
commit | 491ccb4595350dd666f656b09f6cb90781c6ae64 (patch) | |
tree | 89f96e49349ea7568921ca657724f70b75c05f3d /volsv | |
parent | dd19408b4dd5d9fda358fcfd93bb8a5134eacf29 (diff) |
Move some keybindings to sxhkd (leave volsv, just uncomment config lines to use as normal)
Diffstat (limited to 'volsv')
-rwxr-xr-x | volsv | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 |