Changed awesomewm suspend command

This commit is contained in:
Kristofers Solo
2022-04-27 23:15:06 +03:00
parent e3714459a3
commit 300dc7e6c5
2 changed files with 1 additions and 13 deletions

View File

@@ -54,7 +54,7 @@ local function worker(user_args)
local onlogout = args.onlogout or function () awesome.quit() end
local onlock = args.onlock or function() awful.spawn.with_shell("dm-tool lock") end
local onreboot = args.onreboot or function() awful.spawn.with_shell("reboot") end
local onsuspend = args.onsuspend or function() awful.spawn.with_shell("loginctl suspend") end
local onsuspend = args.onsuspend or function() awful.spawn.with_shell("systemctl suspend") end
local onpoweroff = args.onpoweroff or function() awful.spawn.with_shell("shutdown now") end
local menu_items = {