do not apply current theme when quiting dwm themes menu
This commit is contained in:
parent
b2268b5c88
commit
5fbda9a087
@ -12,6 +12,8 @@ if [ "$CMD" = theme -a "$1" = next ]; then
|
|||||||
'#78909c') THEME=material-light ;;
|
'#78909c') THEME=material-light ;;
|
||||||
*) THEME=dark ;;
|
*) THEME=dark ;;
|
||||||
esac
|
esac
|
||||||
|
elif [ "$CMD" = theme -a "$1" = "" ]; then
|
||||||
|
exit
|
||||||
elif [ "$CMD" = theme ] && [ "$1" = dark -o "$1" = dark-blue -o "$1" = dark-gray -o "$1" = light -o "$1" = material-dark -o "$1" = material-light ]; then
|
elif [ "$CMD" = theme ] && [ "$1" = dark -o "$1" = dark-blue -o "$1" = dark-gray -o "$1" = light -o "$1" = material-dark -o "$1" = material-light ]; then
|
||||||
THEME="$1"
|
THEME="$1"
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user