aboutsummaryrefslogtreecommitdiff
path: root/x/quitconf
blob: 68f8e611680ca241b36e10610418fe96107d4a5b (plain)
1
2
3
4
5
6
7
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