fixup! Hyprland: inhibit idle if fullscreen
This commit is contained in:
parent
013024979a
commit
4a03ca25f2
3 changed files with 4 additions and 8 deletions
|
|
@ -267,12 +267,7 @@
|
||||||
# ./modules/nixos/minio_local.nix
|
# ./modules/nixos/minio_local.nix
|
||||||
|
|
||||||
./modules/nixos/hyprland.nix
|
./modules/nixos/hyprland.nix
|
||||||
{
|
{ home-manager.users.bertof.imports = [ ./modules/hm/hyprland.nix ]; }
|
||||||
home-manager.users.bertof.imports = [
|
|
||||||
./modules/hm/hyprland.nix
|
|
||||||
./modules/hm/swayidle.nix
|
|
||||||
];
|
|
||||||
}
|
|
||||||
|
|
||||||
./modules/nixos/musa.nix
|
./modules/nixos/musa.nix
|
||||||
] ++ homeManagerUModules ++ [{
|
] ++ homeManagerUModules ++ [{
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,7 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
general = {
|
general = {
|
||||||
# ignore_dbus_inhibit = false;
|
ignore_dbus_inhibit = false;
|
||||||
lock_cmd = "pidof hyprlock || hyprlock"; # avoid starting multiple hyprlock instances.
|
lock_cmd = "pidof hyprlock || hyprlock"; # avoid starting multiple hyprlock instances.
|
||||||
before_sleep_cmd = "loginctl lock-session"; # lock before suspend.
|
before_sleep_cmd = "loginctl lock-session"; # lock before suspend.
|
||||||
after_sleep_cmd = "hyprctl dispatch dpms on"; # to avoid having to press a key twice to turn on the display
|
after_sleep_cmd = "hyprctl dispatch dpms on"; # to avoid having to press a key twice to turn on the display
|
||||||
|
|
@ -64,7 +64,7 @@ in
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
timeout = 120;
|
timeout = 120;
|
||||||
on-timeout = "${pkgs.brillo}/bin/brillo -e -S 0; loginctl lock-session ";
|
on-timeout = "${pkgs.brillo}/bin/brillo -e -S 0;";
|
||||||
on-resume = "${pkgs.brillo}/bin/brillo -e -S 100";
|
on-resume = "${pkgs.brillo}/bin/brillo -e -S 100";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -18,6 +18,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
services.pipewire.wireplumber.enable = true;
|
services.pipewire.wireplumber.enable = true;
|
||||||
|
security.pam.services.hyprlock = { };
|
||||||
|
|
||||||
security.pam.services.swaylock = {
|
security.pam.services.swaylock = {
|
||||||
text = ''
|
text = ''
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue