Last active
June 29, 2025 09:08
-
-
Save linguisticmind/b8a9d268a29b7f1a4b0037ecd0a7fe74 to your computer and use it in GitHub Desktop.
awesome_wm_move_systray.lua | "[Setting up Debian #16] Awesome WM: how to move the system tray to a different screen" (https://youtu.be/FfYWVOFUJJU) | Mindful Technology
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Put this code in the 'Keybindings' section, | |
-- under 'Layout manipulation' -- | |
-- e.g. after the 'focus the previous screen' shortcut | |
-- Video tutorial: https://youtu.be/FfYWVOFUJJU | |
awful.key({modkey, "Control", "Mod1"}, "j", | |
function() | |
awful.screen.focus_relative( 1) | |
wibox.widget.systray():set_screen(awful.screen.focused()) | |
end, {description = "focus the next screen and move system tray", group = "screen"}), | |
awful.key({modkey, "Control", "Mod1"}, "k", | |
function() | |
awful.screen.focus_relative(-1) | |
wibox.widget.systray():set_screen(awful.screen.focused()) | |
end, {description = "focus the previous screen and move system tray", group = "screen"}), |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment