Make sway work on the same principles (no more waybar manual restarts ;D)

This commit is contained in:
Natsu Kagami 2025-01-17 11:18:11 +01:00
parent 26df6113e7
commit 379f9e6027
Signed by: nki
GPG key ID: 55A032EB38B49ADB
3 changed files with 34 additions and 10 deletions

View file

@ -70,6 +70,8 @@ in
systemd.user.services.swaync.Install.WantedBy = [ "niri.service" ];
systemd.user.services.swaync.Unit.After = [ "niri.service" ];
systemd.user.targets.tray.Unit.After = [ "niri.service" ];
systemd.user.services.waybar.Unit.After = [ "niri.service" ];
systemd.user.services.waybar.Install.WantedBy = [ "niri.service" ];
systemd.user.targets.xwayland.Unit.After = [ "niri.service" ];
# xwayland-satellite
@ -214,6 +216,23 @@ in
];
}
# xwaylandvideobridge
{
matches = [{ app-id = "^xwaylandvideobridge$"; }];
open-floating = true;
focus-ring.enable = false;
opacity = 0.0;
default-floating-position = {
x = 0;
y = 0;
relative-to = "bottom-right";
};
min-width = 1;
max-width = 1;
min-height = 1;
max-height = 1;
}
# Kitty dimming
{
matches = [{ app-id = "kitty"; }];