From 25870d1d06119bc4b18321e1e360a96dad12dc5b Mon Sep 17 00:00:00 2001 From: Guilherme Rugai Freire <41879254+GRFreire@users.noreply.github.com> Date: Fri, 6 Aug 2021 16:30:08 -0300 Subject: [PATCH] fix volume bar script --- .config/qtile/autostart.sh | 3 ++- .config/xob/volume.sh | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.config/qtile/autostart.sh b/.config/qtile/autostart.sh index 3ea4f66..ae4434d 100755 --- a/.config/qtile/autostart.sh +++ b/.config/qtile/autostart.sh @@ -19,4 +19,5 @@ nitrogen --restore nm-applet & # Start volume bar -~/.config/xob/volume.sh \ No newline at end of file +~/.config/xob/volume.sh & + diff --git a/.config/xob/volume.sh b/.config/xob/volume.sh index fdb3b3f..9c1a48d 100755 --- a/.config/xob/volume.sh +++ b/.config/xob/volume.sh @@ -1,3 +1,5 @@ #!/bin/sh -WATCHER=pulse-volume-watcher.py ./base.sh $@ \ No newline at end of file +cd "${0%/*}" || exit + +WATCHER=pulse-volume-watcher.py ./base.sh volume