swayosd flake, better multihead

This commit is contained in:
atagen 2024-01-13 01:53:30 +11:00
parent a45ac1792c
commit 7882fe6841
9 changed files with 266 additions and 68 deletions

View file

@ -101,8 +101,15 @@ keys = [
Key([mod], "space", lazy.window.toggle_floating()),
Key([mod, "shift"], "space", lazy.window.toggle_fullscreen()),
Key([mod], "Tab", lazy.next_screen()),
Key([mod, "shift"], "Tab", lazy.function(send_to_next_screen())),
]
def send_to_next_screen() -> Callable:
def _inner(qtile: Qtile) -> None:
win = qtile.current_window
win.toscreen(1 if qtile.current_screen == 0 else 0)
return _inner
groups = []
land_groups = "123"
port_groups = "456"
@ -313,3 +320,5 @@ def centre_floated():
# logger.warning(client.opacity)
# client.rounding = 8
# client.opacity = 0.85
qtile.focus_screen(1)