blob: 79519ed35d0658384c794d8b826d5aabdc16f7c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/usr/bin/fish
set poweroff " Poweroff"
set reboot " Reboot"
set lock " Lock"
set exit " Exit"
set chosen (echo -e "$poweroff\n$reboot\n$lock\n$exit" | fuzzel --dmenu --lines 4 --width 15)
switch $chosen
case $poweroff
shutdown now
case $reboot
reboot
case $lock
loginctl lock-session
case $exit
niri msg action quit
case '*'
exit 1
end
|