From 4addacfdde452b4377562b38bf2a6f984b169e49 Mon Sep 17 00:00:00 2001 From: Blista Kanjo Date: Sat, 11 May 2024 03:25:34 -0400 Subject: refactor: use `systemctl` name(s) for `myawesomemenu` --- .config/awesome/rc-4.3-3.lua | 2 +- .config/awesome/rc.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to '.config') diff --git a/.config/awesome/rc-4.3-3.lua b/.config/awesome/rc-4.3-3.lua index 90a0472..b9338bf 100644 --- a/.config/awesome/rc-4.3-3.lua +++ b/.config/awesome/rc-4.3-3.lua @@ -105,7 +105,7 @@ myawesomemenu = { { "reboot", function() awful.spawn("sh -c 'systemctl reboot'") end }, { "refresh", awesome.restart }, -- { "quit", function() awesome.quit() end }, - { "shutdown", function() awful.spawn("sh -c 'systemctl poweroff'") end }, + { "poweroff", function() awful.spawn("sh -c 'systemctl poweroff'") end }, { "stagnate", function() awful.spawn.easy_async_with_shell("sh -c 'systemctl hibernate'") end }, { "suspend", function() awful.spawn.easy_async_with_shell("sh -c 'systemctl suspend'") end }, { "logout", function() awful.spawn("sh -c 'pkill -9 -u $USER'") end }, diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index ac17757..f1f2040 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -88,7 +88,7 @@ myawesomemenu = { { "reboot", function() awful.spawn("sh -c 'systemctl reboot'") end }, { "refresh", awesome.restart }, -- { "quit", function() awesome.quit() end }, - { "shutdown", function() awful.spawn("sh -c 'systemctl poweroff'") end }, + { "poweroff", function() awful.spawn("sh -c 'systemctl poweroff'") end }, { "stagnate", function() awful.spawn.easy_async_with_shell("sh -c 'systemctl hibernate'") end }, { "suspend", function() awful.spawn.easy_async_with_shell("sh -c 'systemctl suspend'") end }, { "logout", function() awful.spawn("sh -c 'pkill -9 -u $USER'") end }, -- cgit v1.2.3