aboutsummaryrefslogtreecommitdiff
path: root/x/quitconf
diff options
context:
space:
mode:
authorBryson Steck <me@brysonsteck.xyz>2023-09-13 21:36:43 -0600
committerBryson Steck <me@brysonsteck.xyz>2023-09-13 21:36:43 -0600
commit907c402cf16497f2652c406922100f4a098af942 (patch)
treed581192e57699dcf93d522a9dc6a3ed7b7303133 /x/quitconf
parent564505447e19354e596f303ab562fedca576589d (diff)
parent698a8a7f30b2a22672b677078fcfe5ac698020da (diff)
downloaddotfiles-907c402cf16497f2652c406922100f4a098af942.tar
dotfiles-907c402cf16497f2652c406922100f4a098af942.tar.gz
dotfiles-907c402cf16497f2652c406922100f4a098af942.tar.bz2
Merge branch 'master' of codeberg.org:brysonsteck/dotfiles
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
+