diff --git a/scripts/appscripts/sxmo_timermenu.sh b/scripts/appscripts/sxmo_timermenu.sh index 2d6fff8..8aae763 100755 --- a/scripts/appscripts/sxmo_timermenu.sh +++ b/scripts/appscripts/sxmo_timermenu.sh @@ -1,6 +1,6 @@ #!/usr/bin/env sh pidof svkbd-sxmo || svkbd-sxmo & -TIMEINPUT=$( +TIMEINPUT="$( echo "1h 10m 9m @@ -14,9 +14,8 @@ echo "1h 1m 30s Close Menu" | dmenu -p Timer -c -fn "Terminus-30" -l 20 -) +)" pkill svkbd-sxmo -[ "Close Menu" = $TIMEINPUT ] && exit 0 +[[ "Close Menu" == "$TIMEINPUT" ]] && exit 0 st -f Monospace-50 -e sxmo_timer.sh $TIMEINPUT - diff --git a/scripts/appscripts/sxmo_websearch.sh b/scripts/appscripts/sxmo_websearch.sh index 8be5283..48403f2 100755 --- a/scripts/appscripts/sxmo_websearch.sh +++ b/scripts/appscripts/sxmo_websearch.sh @@ -4,6 +4,6 @@ SEARCHQUERY="$( echo "Close Menu" | dmenu -p "Search Query:" -c -fn "Terminus-20" -l 20 )" pkill svkbd-sxmo -[ "Close Menu" = $SEARCHQUERY ] && exit 0 +[[ "Close Menu" == "$SEARCHQUERY" ]] && exit 0 surf "https://duckduckgo.com/?q=${SEARCHQUERY}"