From 5fbda9a0873254abe0a7025efadf48b9bb651c4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Pankowski?= Date: Fri, 24 Jul 2020 13:05:48 +0200 Subject: [PATCH] do not apply current theme when quiting dwm themes menu --- bspwm/.config/bspwm/commands.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bspwm/.config/bspwm/commands.sh b/bspwm/.config/bspwm/commands.sh index 6151ef5..b8d0534 100644 --- a/bspwm/.config/bspwm/commands.sh +++ b/bspwm/.config/bspwm/commands.sh @@ -12,6 +12,8 @@ if [ "$CMD" = theme -a "$1" = next ]; then '#78909c') THEME=material-light ;; *) THEME=dark ;; 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 THEME="$1" else