From: paperbenni Date: Thu, 9 Apr 2020 20:58:39 +0000 (+0200) Subject: fix desktop file X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=bad69604ba44669739a729796107e7101a52a6b9;p=instantos%2FinstantOS.git fix desktop file --- diff --git a/desktop/instantlock.desktop b/desktop/instantlock.desktop index 56e6ad8..4deeeb9 100644 --- a/desktop/instantlock.desktop +++ b/desktop/instantlock.desktop @@ -1,8 +1,7 @@ [Desktop Entry] Type=Application -Name=Shut Down +Name=Lock Screen Exec=instantlock Icon=1password Terminal=false Type=Application -Name[de_DE]=Lock Screen diff --git a/install.sh b/install.sh index ad65540..a1bf0dd 100755 --- a/install.sh +++ b/install.sh @@ -26,7 +26,7 @@ export THEME=${1:-arc} userrun() { for i in $REALUSERS; do echo "processing user $i" - sudo su "$i" -c $1 + sudo su "$i" -c "$1" done } diff --git a/status.sh b/status.sh index cc9d6b4..7d6fa11 100755 --- a/status.sh +++ b/status.sh @@ -39,7 +39,7 @@ while :; do else BATTERY=$(egrep -o '[0-9]*%' <<<"$TMPBAT") # make indicator red on low battery - if [ $(grep '[0-9]*' <<<$BATTERY) -lt 10 ]; then + if [ $(grep '[0-9]*' <<<"$BATTERY") -lt 10 ]; then BATTERY="^c$RED^$BATTERY^d^" fi fi