framework: fix locking and ozone

This commit is contained in:
tristan 2025-04-07 14:24:03 +01:00
parent 5a952051c3
commit 158210f009
2 changed files with 2 additions and 26 deletions

View file

@ -30,7 +30,7 @@ in {
enable = true;
settings = {
general = {
before_sleep_cmd = "rbw lock";
before_sleep_cmd = "rbw lock; hyprlock";
after_sleep_cmd = "hyprctl dispatch dpms on";
ignore_dbus_inhibit = false;
lock_cmd = "pidof ${lock_cmd} || ${lock_cmd}";
@ -193,6 +193,7 @@ in {
"XDG_SESSION_DESKTOP,Hyprland"
"QT_AUTO_SCREEN_SCALE_FACTOR,1"
"QT_WAYLAND_DISABLE_WINDOWDECORATION,1"
"NIXOS_OZONE_WL,1"
];
windowrule = [
"float, title:wlogout"