@@ -0,0 +1,17 @@
#!/bin/sh
off() {
systemctl poweroff
}
reboot() {
systemctl reboot
opt=`printf 'Off\nReboot' | dmenu -i -p 'Power option'`
if [ -z "$opt"]; then exit 0;fi
if [ "$opt" = "Off" ]
then
off
else
reboot
fi
The note is not visible to the blocked user.