aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2022-12-29 00:01:00 -0300
committerSilvio Rhatto <rhatto@riseup.net>2022-12-29 00:01:00 -0300
commit17a42de3d4914a9d4c423e5e728df6ab8084330c (patch)
tree1da9f1e61814bca5dac86d44699d10713b1e902e
parent5bc1525b22d05e4ecd5048a2ea66302fe655a3e1 (diff)
downloadawesome-17a42de3d4914a9d4c423e5e728df6ab8084330c.tar.gz
awesome-17a42de3d4914a9d4c423e5e728df6ab8084330c.tar.bz2
Feat: keys: screen management: move client to the next screen
-rw-r--r--config.dot/awesome.link/globalkeys.lua7
-rw-r--r--config.dot/awesome.link/keys.lua1
2 files changed, 7 insertions, 1 deletions
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"}),