From 17a42de3d4914a9d4c423e5e728df6ab8084330c Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 29 Dec 2022 00:01:00 -0300 Subject: Feat: keys: screen management: move client to the next screen --- config.dot/awesome.link/globalkeys.lua | 7 +++++++ config.dot/awesome.link/keys.lua | 1 - 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/config.dot/awesome.link/globalkeys.lua b/config.dot/awesome.link/globalkeys.lua index fc94587..93c6503 100644 --- a/config.dot/awesome.link/globalkeys.lua +++ b/config.dot/awesome.link/globalkeys.lua @@ -27,6 +27,13 @@ globalkeys = awful.util.table.join( awful.key({ modkey, "Control" }, "k", function () awful.screen.focus_relative( 1) end, {description = "focus the next screen", group = "screen"}), awful.key({ modkey, }, "u", awful.client.urgent.jumpto, {description = "jump to urgent client", group = "client"}), + -- Screen management + -- See https://awesomewm.org/doc/api/classes/client.html#awful.client.movetoscreen + -- https://unix.stackexchange.com/questions/5028/how-to-place-an-application-on-the-second-monitor-with-awesome-wm + -- https://stackoverflow.com/questions/16624228/awesome-wm-move-window-from-one-screen-to-another + -- https://superuser.com/questions/1037537/how-do-i-access-a-window-on-another-screen-using-awesome + awful.key({ modkey, "Shift", "Control", }, "o", awful.client.movetoscreen, { description = "move client to the next screen", group = "screen"}), + --- Default tab behavior awful.key({ modkey, }, "Tab", function () diff --git a/config.dot/awesome.link/keys.lua b/config.dot/awesome.link/keys.lua index 8d7cad1..4d4a546 100644 --- a/config.dot/awesome.link/keys.lua +++ b/config.dot/awesome.link/keys.lua @@ -63,7 +63,6 @@ globalkeys = awful.util.table.join(root.keys(), awful.key({ modkey, }, "y", function () awful.spawn("xclip-clean") end, {description = "clear clipboard", group = "client"}), awful.key({ modkey, }, "z", function () awful.spawn("terminal shell root") end, {description = "root", group = "client"}), - -- Clipboard between virtual machines awful.key({ modkey, "" }, "Up", function () awful.spawn("kvmx-spice-copy") end, {description = "kvmx-copy", group = "client"}), awful.key({ modkey, "" }, "Down", function () awful.spawn("kvmx-spice-paste") end, {description = "kvmx-paste", group = "client"}), -- cgit v1.2.3