aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2025-08-31 13:11:55 -0300
committerSilvio Rhatto <rhatto@riseup.net>2025-08-31 13:11:55 -0300
commit65bbba4ca56b6cc546d03dceef14b5076d87e004 (patch)
tree18d7615c8d254382c450256ca092094e58985225
parent7e7e6bd3eb9fabf4a46aecfed4460ba28a9ace44 (diff)
downloadawesome-65bbba4ca56b6cc546d03dceef14b5076d87e004.tar.gz
awesome-65bbba4ca56b6cc546d03dceef14b5076d87e004.tar.bz2
Keys: repurpose Super+N as session managerHEADmaster
-rw-r--r--config.dot/awesome.link/globalkeys.lua20
-rw-r--r--config.dot/awesome.link/keys.lua1
2 files changed, 11 insertions, 10 deletions
diff --git a/config.dot/awesome.link/globalkeys.lua b/config.dot/awesome.link/globalkeys.lua
index 93c6503..c0ff159 100644
--- a/config.dot/awesome.link/globalkeys.lua
+++ b/config.dot/awesome.link/globalkeys.lua
@@ -80,16 +80,16 @@ globalkeys = awful.util.table.join(
awful.key({ modkey, }, "space", function () awful.layout.inc( 1) end, {description = "select next", group = "layout"}),
awful.key({ modkey, "Shift" }, "space", function () awful.layout.inc(-1) end, {description = "select previous", group = "layout"}),
- awful.key({ modkey, "Control" }, "n",
- function ()
- local c = awful.client.restore()
- -- Focus restored client
- if c then
- client.focus = c
- c:raise()
- end
- end,
- {description = "restore minimized", group = "client"}),
+ --awful.key({ modkey, "Control" }, "n",
+ -- function ()
+ -- local c = awful.client.restore()
+ -- -- Focus restored client
+ -- if c then
+ -- client.focus = c
+ -- c:raise()
+ -- end
+ -- end,
+ -- {description = "restore minimized", group = "client"}),
-- Prompt
awful.key({ modkey }, "r", function () awful.screen.focused().mypromptbox:run() end,
diff --git a/config.dot/awesome.link/keys.lua b/config.dot/awesome.link/keys.lua
index 2cc6a8a..58a0026 100644
--- a/config.dot/awesome.link/keys.lua
+++ b/config.dot/awesome.link/keys.lua
@@ -53,6 +53,7 @@ globalkeys = awful.util.table.join(root.keys(),
awful.key({ modkey, }, "i", function () awful.spawn("screenshot -s") end, {description = "region screenshot", group = "client"}),
awful.key({ modkey, }, "l", function () awful.spawn("gpick -s -p") end, {description = "gpick", group = "client"}),
awful.key({ modkey, }, "m", function () awful.spawn("terminal xmail") end, {description = "mail", group = "client"}),
+ awful.key({ modkey, }, "n", function () awful.spawn("terminal shell local session") end, {description = "session", group = "client"}),
--awful.key({ modkey, }, "n", function () awful.spawn("terminal news") end, {description = "news", group = "client"}),
--awful.key({ modkey, }, "o", function () awful.spawn("chromium-browser --incognito") end, {description = "chromium", group = "client"}),
awful.key({ modkey, }, "o", function () awful.spawn("terminal-session-chooser") end, {description = "session-chooser", group = "client"}),