do not apply current theme when quiting dwm themes menu
This commit is contained in:
parent
f54c3cb735
commit
068ee54abb
@ -33,7 +33,9 @@ if [ "$CMD" = theme -a "$1" = --next ]; then
|
||||
fi
|
||||
echo "THEME=${THEME}" > "${CURRENT_THEME_PATH}"
|
||||
elif [ "$CMD" = theme ]; then
|
||||
if [ -e "${THEMES_PATH}/$1-theme.sh" ]; then
|
||||
if [ "$1" = "" ]; then
|
||||
exit
|
||||
elif [ -e "${THEMES_PATH}/$1-theme.sh" ]; then
|
||||
THEME="$1"
|
||||
else
|
||||
THEME="${DEFAULT_THEME}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user