mirror of
https://github.com/tuxdotrs/tawm.git
synced 2025-07-05 20:56:33 +05:30
add poweroff keybinding
This commit is contained in:
@ -17,6 +17,10 @@ awful.keyboard.append_global_keybindings({
|
||||
awful.key({ modkey, mod.shift }, "r", awesome.restart, { description = "reload awesome", group = "awesome" }),
|
||||
awful.key({ modkey, mod.shift }, "x", awesome.quit, { description = "quit awesome", group = "awesome" }),
|
||||
|
||||
awful.key({ modkey, mod.shift }, "p", function()
|
||||
awful.spawn.with_shell("poweroff")
|
||||
end, { description = "poweroff", group = "awesome" }),
|
||||
|
||||
-- Apps related keybindings
|
||||
awful.key({ modkey }, "a", function()
|
||||
awful.spawn("rofi -show drun")
|
||||
|
Reference in New Issue
Block a user