aboutsummaryrefslogtreecommitdiff
path: root/.scripts/panic
blob: da98fb5bb22a7abb38a1fe69e40d847e35ca2a96 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

# xdotool search "" windowkill %@

(printf "yes" | dmenu -p "stop" && killall -9 panic) &

for i in $(seq 5); do
	printf "panic\npanic\npanic" | osd_cat -d 1 -A center -l 3 -p middle -c red -f '-*-*-*-*-*-*-*-240-*-*-*-*-*-*'
	sleep 0.1
done

systemctl poweroff