aboutsummaryrefslogtreecommitdiff
path: root/x/quitconf
diff options
context:
space:
mode:
Diffstat (limited to 'x/quitconf')
-rwxr-xr-xx/quitconf8
1 files changed, 8 insertions, 0 deletions
diff --git a/x/quitconf b/x/quitconf
new file mode 100755
index 0000000..68f8e61
--- /dev/null
+++ b/x/quitconf
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+input=$(printf "no\nyes" | dmenu -m $1 -fn "JetBrains Mono NF:style=medium:size=11" -nb $2 -nf $3 -sb "#cc241d" -sf $4 -p "Quit dwm?")
+
+if [ "$input" = "yes" ]; then
+ killall dwm
+fi
+