diff options
author | Bryson Steck <brysonsteck@protonmail.com> | 2023-05-31 22:46:32 -0600 |
---|---|---|
committer | Bryson Steck <brysonsteck@protonmail.com> | 2023-05-31 22:46:32 -0600 |
commit | 698a8a7f30b2a22672b677078fcfe5ac698020da (patch) | |
tree | fb4d9096733b9dba52620f72fe1d3fe22ed53626 /x/quitconf | |
parent | 3991ac66a5269986b066338c404daea026b4ecbb (diff) | |
download | dotfiles-698a8a7f30b2a22672b677078fcfe5ac698020da.tar dotfiles-698a8a7f30b2a22672b677078fcfe5ac698020da.tar.gz dotfiles-698a8a7f30b2a22672b677078fcfe5ac698020da.tar.bz2 |
some more x scripts
Diffstat (limited to 'x/quitconf')
-rwxr-xr-x | x/quitconf | 8 |
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 + |