From f7516f5ef7ee9722ae0152163aa9063341e4681d Mon Sep 17 00:00:00 2001 From: Blista Kanjo Date: Tue, 25 Jun 2024 17:07:48 -0400 Subject: refactor `window` → `client` --- .config/awesome/rc-4.3-3.lua | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to '.config/awesome/rc-4.3-3.lua') diff --git a/.config/awesome/rc-4.3-3.lua b/.config/awesome/rc-4.3-3.lua index 7730420..cbe6a1a 100644 --- a/.config/awesome/rc-4.3-3.lua +++ b/.config/awesome/rc-4.3-3.lua @@ -323,25 +323,25 @@ globalkeys = gears.table.join( awful.client.swap.global_bydirection("down") client.focus:raise() end, - { description = "swap with next window up", group = "client" }), + { description = "swap with next client up", group = "client" }), awful.key({ modkey, "Control" }, "Up", function() awful.client.swap.global_bydirection("up") client.focus:raise() end, - { description = "swap with next window down", group = "client" }), + { description = "swap with next client down", group = "client" }), awful.key({ modkey, "Control" }, "Right", function() awful.client.swap.global_bydirection("right") client.focus:raise() end, - { description = "swap with next window right", group = "client" }), + { description = "swap with next client right", group = "client" }), awful.key({ modkey, "Control" }, "Left", function() awful.client.swap.global_bydirection("left") client.focus:raise() end, - { description = "swap with next window left", group = "client" }), + { description = "swap with next client left", group = "client" }), -- additional h,l binds -- (in practice, this will work just like the arrow keybinds when pairing -- the h,l directional keybinds with j,k "by index" keybinds) @@ -350,13 +350,13 @@ globalkeys = gears.table.join( awful.client.swap.global_bydirection("right") client.focus:raise() end, - { description = "swap with next window right", group = "client" }), + { description = "swap with next client right", group = "client" }), awful.key({ modkey, "Control" }, "h", function() awful.client.swap.global_bydirection("left") client.focus:raise() end, - { description = "swap with next window left", group = "client" }), + { description = "swap with next client left", group = "client" }), -- move window focus by direction in tiling layout awful.key({ modkey, "Mod1" }, "Down", @@ -364,24 +364,24 @@ globalkeys = gears.table.join( awful.client.focus.global_bydirection("down") client.focus:raise() end, - { description = "focus to next window up", group = "client" }), + { description = "focus to next client up", group = "client" }), awful.key({ modkey, "Mod1" }, "Up", function() awful.client.focus.global_bydirection("up") client.focus:raise() end, - { description = "focus to next window down", group = "client" }), + { description = "focus to next client down", group = "client" }), awful.key({ modkey, "Mod1" }, "Right", function() awful.client.focus.global_bydirection("right") client.focus:raise() end, - { description = "focus to next window right", group = "client" }), + { description = "focus to next client right", group = "client" }), awful.key({ modkey, "Mod1" }, "Left", function() awful.client.focus.global_bydirection("left") client.focus:raise() end, - { description = "focus to next window left", group = "client" }), + { description = "focus to next client left", group = "client" }), -- additional h,l binds -- (in practice, this will work just like the arrow keybinds when pairing -- the h,l directional keybinds with j,k "by index" keybinds) @@ -390,12 +390,12 @@ globalkeys = gears.table.join( awful.client.focus.global_bydirection("right") client.focus:raise() end, - { description = "focus to next window right", group = "client" }), + { description = "focus to next client right", group = "client" }), awful.key({ modkey, "Mod1" }, "h", function() awful.client.focus.global_bydirection("left") client.focus:raise() end, - { description = "focus to next window left", group = "client" }), + { description = "focus to next client left", group = "client" }), -- go back to previous focused client awful.key({ "Mod1", }, "Tab", @@ -430,11 +430,11 @@ globalkeys = gears.table.join( { description = "take a screenshot of the fullscreen", group = "launcher" }), awful.key({ modkey }, "Print", function() awful.spawn.easy_async_with_shell("xfce4-screenshooter -w --mouse --no-border") end, - { description = "take a screenshot of the active window", group = "launcher" }), + { description = "take a screenshot of the active client", group = "launcher" }), awful.key({ "Shift" }, "Print", function() awful.spawn.easy_async_with_shell("xfce4-screenshooter -r --mouse") end, { description = "take a screenshot of an area of the screen", group = "launcher" }), awful.key({ modkey }, "x", function() awful.spawn.easy_async_with_shell("xkill") end, - { description = "kill a window by brute force", group = "launcher" }), + { description = "kill a client by brute force", group = "launcher" }), awful.key({ "Control", "Mod1" }, "Delete", function() awful.spawn("xfce4-terminal -T 'Task Manager' -x 'htop'") end, { description = "launch HTOP", group = "launcher" }), @@ -470,11 +470,11 @@ globalkeys = gears.table.join( -- on-the-fly window gaps configuration awful.key({ modkey }, "'", function() awful.tag.incgap(2) end, - { description = "increase window gaps", group = "client" }), + { description = "increase client gaps", group = "client" }), awful.key({ modkey }, ";", function() awful.tag.incgap(-2) end, - { description = "decrease window gaps", group = "client" }), + { description = "decrease client gaps", group = "client" }), awful.key({ modkey }, "backslash", function() awful.screen.focused().selected_tag.gap = 5 end, - { description = "reset window gaps", group = "client" }), + { description = "reset client gaps", group = "client" }), -- launch choose-xrandr-gui awful.key({ modkey }, "p", function() awful.spawn.easy_async_with_shell("~/.local/bin/choose-xrandr-gui") end, @@ -593,7 +593,7 @@ clientkeys = gears.table.join( awful.key({ modkey }, "q", function(c) c:kill() end, { description = "close", group = "client" }), awful.key({ modkey }, "w", awful.client.floating.toggle, - { description = "toggle floating", group = "client" }), + { description = "toggle client warp (floating/tiling)", group = "client" }), -- sticky window and always on top toggle awful.key({ modkey }, "t", function(c) c.ontop = not c.ontop end, -- cgit v1.2.3