From 4fb5dfcf3ba825439285692a8486baedaccbf350 Mon Sep 17 00:00:00 2001 From: Blista Kanjo Date: Mon, 19 Jun 2023 01:44:39 -0400 Subject: feat: added common hotkey for a GUI system monitor --- .config/awesome/rc.lua | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) (limited to '.config/awesome/rc.lua') diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index 2f9c091..9ba005a 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -395,20 +395,23 @@ globalkeys = gears.table.join( awful.key({modkey}, "backslash", function () awful.screen.focused().selected_tag.gap = 5 end, {description = "reset window gaps", group = "client"}), - - -- awesome window manager Controls - awful.key({ "Control", "Mod1" }, "BackSpace", awesome.restart, - {description = "reload awesome", group = "awesome"}), - --[[awful.key({ "Control", "Shift" }, "Delete", awesome.quit - {description = "quit awesome", group = "awesome"}),]]-- - - --[[ awful.key({ "Control", "Mod1" }, "BackSpace", function () awful.spawn("sh -c 'pkill -9 -u $USER'") end, - {description = "quit awesome", group = "launcher"}), ]]-- + -- GUI Task Manager / System Monitor awful.key({ modkey, "Control" }, "Delete", function () awful.spawn("gnome-system-monitor") end, {description = "gnome-system-monitor", group = "launcher"}), + awful.key({ "Control", "Shift" }, "Escape", function () awful.spawn("gnome-system-monitor") end, + {description = "gnome-system-monitor", group = "launcher"}), + -- Kill All User Processes including X11 (logs user out) + --[[ awful.key({ "Control", "Mod1" }, "BackSpace", function () awful.spawn("sh -c 'pkill -9 -u $USER'") end, + {description = "quit awesome", group = "launcher"}), ]]-- + + -- awesome window manager Controls + awful.key({ "Control", "Mod1" }, "BackSpace", awesome.restart, + {description = "reload awesome", group = "awesome"}), + --[[awful.key({ "Control", "Shift" }, "Delete", awesome.quit + {description = "quit awesome", group = "awesome"}),]]-- -- Tiled Window Sizing and Client count/columns -- cgit v1.2.3