I am thinking of setting up Pekwm and want to hook Suspend, Restart etc to function keys.
Code: Select all
KeyPress = "F6" { Actions = "exit" }
Keypress = "F7" {Actions = "Exec systemctl reboot" }
Keypress = "F8" {Actions = "Exec systemctl poweroff" }
KeyPress = "F5" { Actions = "Exec systemctl suspend" }
If I could just summon with one key the shutdown etc box that Xfce does with the action button that would be fine.