aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlista Kanjo2022-07-19 03:58:21 -0400
committerBlista Kanjo2022-07-19 03:58:21 -0400
commitf7df1e11a22380646867a04af43b06504480b0b0 (patch)
tree642fbe5d15a4950ed596bd878bd59755329de476
parentd8123431d98ddc79f30ff326970aa999eca2aa04 (diff)
refactor: now using more sane keybinds
-rw-r--r--awesome/rc.lua12
1 files changed, 7 insertions, 5 deletions
diff --git a/awesome/rc.lua b/awesome/rc.lua
index 06ec074..ab006e1 100644
--- a/awesome/rc.lua
+++ b/awesome/rc.lua
@@ -322,11 +322,11 @@ globalkeys = gears.table.join(
awful.key({ }, "XF86MonBrightnessUp", function () awful.spawn.easy_async_with_shell("xbacklight -inc 15") end),
-- Emoji Picker
- awful.key({ modkey }, "q", function () awful.spawn.easy_async_with_shell("sh -c '~/.local/share/Blista-Kanjo-Emoji/blista-emoji-picker'") end,
+ awful.key({ modkey }, ".", function () awful.spawn.easy_async_with_shell("sh -c '~/.local/share/Blista-Kanjo-Emoji/blista-emoji-picker'") end,
{description = "launch emoji chooser", group = "launcher"}),
-- Spell Checker (Single Word)
- awful.key({ modkey }, "w", function () awful.spawn.easy_async_with_shell("sh -c '~/.local/share/scripts/dym.sh'") end,
+ awful.key({ modkey }, "slash", function () awful.spawn.easy_async_with_shell("sh -c '~/.local/share/scripts/dym.sh'") end,
{description = "launch single word spell checker", group = "launcher"}),
-- Clipboard Manager
@@ -384,7 +384,7 @@ globalkeys = gears.table.join(
awful.key({ modkey }, "k", function () awful.layout.inc(-1) end,
{description = "select previous", group = "layout"}),
- awful.key({ modkey }, ",",
+ awful.key({ modkey, "Shift" }, "m",
function ()
local c = awful.client.restore()
-- Focus restored client
@@ -424,13 +424,15 @@ clientkeys = gears.table.join(
{description = "toggle fullscreen", group = "client"}),
awful.key({ "Mod1" }, "F4", function (c) c:kill() end,
{description = "close", group = "client"}),
+ awful.key({ modkey }, "q", function (c) c:kill() end,
+ {description = "close", group = "client"}),
awful.key({ "Shift", "Control" }, "space", awful.client.floating.toggle,
{description = "toggle floating", group = "client"}),
-- Sticky Window and Always on top toggle
- awful.key({ modkey }, ".", function(c) c.ontop = not c.ontop end,
+ awful.key({ modkey }, "t", function(c) c.ontop = not c.ontop end,
{description = "toggle always on top", group = "client"}),
- awful.key({ modkey }, "slash", function (c) c.sticky = not c.sticky end,
+ awful.key({ modkey }, "y", function (c) c.sticky = not c.sticky end,
{description = "toggle sticky", group = "client"}),
-- Original Keep On Top Function