summaryrefslogtreecommitdiffstats
path: root/.local/bin/statusbar/sb-volume
diff options
context:
space:
mode:
authorJameson <108906685+2084x@users.noreply.github.com>2023-12-31 04:04:51 +1100
committerGitHub <noreply@github.com>2023-12-30 17:04:51 +0000
commit7a96fb100cf385e05c211937b509d2bf166299e6 (patch)
tree70f07c22c8cd3eca37ce7e53a0e9f6d387a6081b /.local/bin/statusbar/sb-volume
parent07952026753f1bbeaf5b6c4eb5414a9c51536041 (diff)
downloadeibhear-7a96fb100cf385e05c211937b509d2bf166299e6.tar.gz
eibhear-7a96fb100cf385e05c211937b509d2bf166299e6.tar.zst
eibhear-7a96fb100cf385e05c211937b509d2bf166299e6.zip
script fixes (#1386)
* fix typo in lfub * use setsid when editing scripts * fix immediate exit on middle click --------- Co-authored-by: 2084x <2084x@noreply.codeberg.org>
Diffstat (limited to '.local/bin/statusbar/sb-volume')
-rwxr-xr-x.local/bin/statusbar/sb-volume2
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/statusbar/sb-volume b/.local/bin/statusbar/sb-volume
index fa0abcd..e66dea7 100755
--- a/.local/bin/statusbar/sb-volume
+++ b/.local/bin/statusbar/sb-volume
@@ -10,7 +10,7 @@ case $BLOCK_BUTTON in
3) notify-send "📢 Volume module" "\- Shows volume 🔊, 🔇 if muted.
- Middle click to mute.
- Scroll to change." ;;
- 6) "$TERMINAL" -e "$EDITOR" "$0" ;;
+ 6) setsid -f "$TERMINAL" -e "$EDITOR" "$0" ;;
esac
vol="$(wpctl get-volume @DEFAULT_AUDIO_SINK@)"