summaryrefslogtreecommitdiffstats
path: root/.local/bin/statusbar/volume
diff options
context:
space:
mode:
authorKian Kasad <kdkasad@gmail.com>2020-05-30 14:01:18 -0700
committerGitHub <noreply@github.com>2020-05-30 17:01:18 -0400
commit3222354d50c9cc5a50fc78059e69e423a7009d58 (patch)
tree53cd87a34815f7e7b8d8c670777208a728616e2a /.local/bin/statusbar/volume
parent52d9140820d3e39446cb8414220c9bc5a052216c (diff)
downloadeibhear-3222354d50c9cc5a50fc78059e69e423a7009d58.tar.gz
eibhear-3222354d50c9cc5a50fc78059e69e423a7009d58.tar.zst
eibhear-3222354d50c9cc5a50fc78059e69e423a7009d58.zip
make use of setsid(1)'s `-f` flag (#652)
Co-authored-by: Luke Smith <luke@lukesmith.xyz>
Diffstat (limited to '.local/bin/statusbar/volume')
-rwxr-xr-x.local/bin/statusbar/volume4
1 files changed, 2 insertions, 2 deletions
diff --git a/.local/bin/statusbar/volume b/.local/bin/statusbar/volume
index b64744f..2766ed2 100755
--- a/.local/bin/statusbar/volume
+++ b/.local/bin/statusbar/volume
@@ -4,11 +4,11 @@
# uncomment the ALSA lines if you remove PulseAudio.
case $BLOCK_BUTTON in
- # 1) setsid "$TERMINAL" -e alsamixer & ;;
+ # 1) setsid -f "$TERMINAL" -e alsamixer ;;
# 2) amixer sset Master toggle ;;
# 4) amixer sset Master 5%+ >/dev/null 2>/dev/null ;;
# 5) amixer sset Master 5%- >/dev/null 2>/dev/null ;;
- 1) setsid "$TERMINAL" -e pulsemixer & ;;
+ 1) setsid -f "$TERMINAL" -e pulsemixer ;;
2) pamixer -t ;;
4) pamixer --allow-boost -i 1 ;;
5) pamixer --allow-boost -d 1 ;;