From 7bbfb305867570c7d43302af4c13ca8f71320bf8 Mon Sep 17 00:00:00 2001 From: Blista Kanjo Date: Fri, 28 Jun 2024 23:41:36 -0400 Subject: refactor: change a few keybinds --- .config/awesome/rc-4.3-3.lua | 6 +++--- .config/awesome/rc.lua | 6 +++--- README.md | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.config/awesome/rc-4.3-3.lua b/.config/awesome/rc-4.3-3.lua index e0fa1ff..1083f8d 100644 --- a/.config/awesome/rc-4.3-3.lua +++ b/.config/awesome/rc-4.3-3.lua @@ -576,7 +576,7 @@ globalkeys = gears.table.join( ) clientkeys = gears.table.join( - awful.key({ modkey, "Mod1" }, "f", + awful.key({ modkey }, "f", function(c) c.fullscreen = not c.fullscreen c:raise() @@ -592,8 +592,8 @@ clientkeys = gears.table.join( { description = "close", group = "client" }), awful.key({ modkey }, "q", function(c) c:kill() end, { description = "close", group = "client" }), - awful.key({ modkey }, "f", awful.client.floating.toggle, - { description = "toggle floating (client anchor)", group = "client" }), + awful.key({ modkey }, "space", awful.client.floating.toggle, + { description = "toggle client anchor", group = "client" }), -- sticky window and always on top toggle awful.key({ modkey }, "t", function(c) c.ontop = not c.ontop end, diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index d7dd92c..ca2e330 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -626,7 +626,7 @@ end) client.connect_signal("request::default_keybindings", function() awful.keyboard.append_client_keybindings({ - awful.key({ modkey, "Mod1" }, "f", + awful.key({ modkey }, "f", function(c) c.fullscreen = not c.fullscreen c:raise() @@ -642,8 +642,8 @@ client.connect_signal("request::default_keybindings", function() { description = "close", group = "client" }), awful.key({ modkey }, "q", function(c) c:kill() end, { description = "close", group = "client" }), - awful.key({ modkey }, "f", awful.client.floating.toggle, - { description = "toggle floating (client anchor)", group = "client" }), + awful.key({ modkey }, "space", awful.client.floating.toggle, + { description = "toggle client anchor", group = "client" }), -- sticky window and always on top toggle awful.key({ modkey }, "t", function(c) c.ontop = not c.ontop end, diff --git a/README.md b/README.md index 4955a6a..5a3bedd 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,6 @@ personal collection of config files for my Linux set-up. I mostly use a cringe-l ![Image of my Linux Rice](https://aedrielkylejavier.me/assets/rice.png) -![Image of shortcuts for awesome-WM](https://aedrielkylejavier.me/assets/keybinds2.png) +![Image of shortcuts for awesome-WM](https://aedrielkylejavier.me/assets/keybinds3.png) **dotfiles are updated nightly** -- cgit v1.2.3