diff --git a/Scripts/lollypop-volumne-ctrl.sh b/Scripts/lollypop-volumne-ctrl.sh index a5c3864..9d8dce7 100644 --- a/Scripts/lollypop-volumne-ctrl.sh +++ b/Scripts/lollypop-volumne-ctrl.sh @@ -1,7 +1,7 @@ #!/bin/bash expireTimeNotifyOSD=3000 currentId=2 -tmpFile=/tmp/currentLollypopVolumnNotifyId +tmpFile=/tmp/currentLollypopVolumnNotifyId$(whoami) currentVolume=$(dbus-send --print-reply --session --dest=org.mpris.MediaPlayer2.Lollypop /org/mpris/MediaPlayer2 org.freedesktop.DBus.Properties.Get string:'org.mpris.MediaPlayer2.Player' string:'Volume' | grep -Eo '[+-]?[0-9]+([.][0-9]+)?' | tail -n 1) operator=$1 diff --git a/Scripts/notifyVolumn.sh b/Scripts/notifyVolumn.sh index bd33fd9..78af870 100755 --- a/Scripts/notifyVolumn.sh +++ b/Scripts/notifyVolumn.sh @@ -8,7 +8,7 @@ expireTimeNotifyOSD=3000 currentId=1 -tmpFile=/tmp/currentVolumnNotifyId +tmpFile=/tmp/currentVolumnNotifyId$(whoami) # gets the current notify id from our tmp file if [ -s $tmpFile ] then