diff options
| author | aristote <quentin.aristote@irif.fr> | 2025-07-29 15:25:11 +0200 |
|---|---|---|
| committer | aristote <quentin.aristote@irif.fr> | 2025-07-29 15:25:11 +0200 |
| commit | fc019d789523ce5f89436b8dbc458cf3b79abf43 (patch) | |
| tree | ec56fd1b1ed9fc75096c0b09db48a152975e4d53 /modules/home-manager/personal/gui/x/idlehook.nix | |
| parent | a3d19bc509d9f39fb41256cd55d2bd7706de202f (diff) | |
reformat everything with nixfmt
Diffstat (limited to 'modules/home-manager/personal/gui/x/idlehook.nix')
| -rw-r--r-- | modules/home-manager/personal/gui/x/idlehook.nix | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/modules/home-manager/personal/gui/x/idlehook.nix b/modules/home-manager/personal/gui/x/idlehook.nix index 129a9f8..9915a3c 100644 --- a/modules/home-manager/personal/gui/x/idlehook.nix +++ b/modules/home-manager/personal/gui/x/idlehook.nix @@ -1,8 +1,14 @@ -{ config, lib, pkgs, ... }: +{ + config, + lib, + pkgs, + ... +}: let brightnessctl = "${pkgs.brightnessctl}/bin/brightnessctl"; -in { +in +{ config.services.xidlehook = { enable = lib.mkDefault config.personal.x.enable; not-when-fullscreen = lib.mkDefault true; |
