hyprland: hyprlock tweaks/syncthing tray window rules

This commit is contained in:
ooks-io 2025-01-29 19:04:01 +11:00
parent c1a264e98e
commit e2bb0b4a00
2 changed files with 7 additions and 1 deletions

View file

@ -7,6 +7,7 @@
}: let
inherit (osConfig.ooknet.appearance) fonts;
inherit (osConfig.ooknet.workstation) environment;
inherit (osConfig.ooknet.hardware) primaryMonitor;
inherit (hozen) color;
inherit (lib) mkIf;
in {
@ -34,6 +35,7 @@ in {
};
input-field = {
monitor = primaryMonitor;
size = "200, 30";
position = "0, 0";
@ -49,7 +51,7 @@ in {
};
label = {
monitor = "";
monitor = primaryMonitor;
text = "LOCKED";
position = "0, 150";
valign = "center";

View file

@ -5,6 +5,10 @@
in {
wayland.windowManager.hyprland.windowRules = [
# TODO tag games for immediate
{
matches = {initialTitle = "Syncthing Tray";};
rules = ["float" "center 1" "size 50%"];
}
{
matches = {class = "factorio";};
rules = ["tag +games"];