Compare commits
2 Commits
4e882084b1
...
4bfc554e35
| Author | SHA1 | Date | |
|---|---|---|---|
| 4bfc554e35 | |||
| 2558f4a9b0 |
@@ -29,7 +29,7 @@
|
|||||||
on-resume = "hyprctl dispatch dpms on"; # screen on when activity is detected after timeout has passed
|
on-resume = "hyprctl dispatch dpms on"; # screen on when activity is detected after timeout has passed
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
timeout = 1800; # 30min
|
timeout = 660;
|
||||||
on-timeout = "systemctl suspend"; # suspend pc
|
on-timeout = "systemctl suspend"; # suspend pc
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -60,13 +60,16 @@
|
|||||||
recursive = true;
|
recursive = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
wayland.windowManager.hyprland.settings.windowrulev2 = [
|
wayland.windowManager.hyprland.settings = {
|
||||||
# --- JELLYFIN MPV SHIM ---
|
exec-once = [ "systemctl --user start jellyfin-mpv-shim" ];
|
||||||
"float, class:^(jellyfin-mpv-shim)$"
|
windowrulev2 = [
|
||||||
"center, class:^(jellyfin-mpv-shim)$"
|
# --- JELLYFIN MPV SHIM ---
|
||||||
"size 70% 70%, class:^(jellyfin-mpv-shim)$"
|
"float, class:^(jellyfin-mpv-shim)$"
|
||||||
"opacity 1.0 override 1.0 override, class:^(jellyfin-mpv-shim)$"
|
"center, class:^(jellyfin-mpv-shim)$"
|
||||||
"idleinhibit focus, class:^(jellyfin-mpv-shim)$"
|
"size 70% 70%, class:^(jellyfin-mpv-shim)$"
|
||||||
"noblur, class:^(jellyfin-mpv-shim)$"
|
"opacity 1.0 override 1.0 override, class:^(jellyfin-mpv-shim)$"
|
||||||
];
|
"idleinhibit focus, class:^(jellyfin-mpv-shim)$"
|
||||||
|
"noblur, class:^(jellyfin-mpv-shim)$"
|
||||||
|
];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user