fvwm/components/functions/Exit-sudo
raw| 1 | # Exit commands - works with sudo |
| 2 | # Created by: Pawel "NEMO" Drygas <[email protected]> |
| 3 | |
| 4 | AddToMenu /Exit |
| 5 | Test (x sudo) + "" Nop |
| 6 | Test (x sudo) + '%22x22/fvwm-crystal/system-reboot.png%$[gt.Reboot computer]' S shutdown -r now |
| 7 | Test (x sudo) + '%22x22/fvwm-crystal/system-shutdown.png%$[gt.Turn off computer]' S shutdown -h now |
| 8 | |
| 9 | # vim:ft=fvwm |