mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
vanadium/xscreensaver: configure event handler
This commit is contained in:
parent
7ffc11106a
commit
eb41cbc94a
2 changed files with 15 additions and 2 deletions
|
|
@ -107,6 +107,7 @@ in
|
|||
../nixosModules/common/network.nix
|
||||
../nixosModules/common/sudo-conf.nix
|
||||
../nixosModules/common/system-nixconf.nix
|
||||
../nixosModules/common/xscreensaver.nix
|
||||
|
||||
../nixosModules/extra/zram.nix
|
||||
../nixosModules/extra/leana.nix
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
{pkgs, ...}: {
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
services.xserver.windowManager.xmonad = {
|
||||
enable = true;
|
||||
enableContribAndExtras = true;
|
||||
|
|
@ -20,7 +24,15 @@
|
|||
};
|
||||
};
|
||||
|
||||
services.xscreensaver.enable = true;
|
||||
services.xscreensaver = {
|
||||
enable = true;
|
||||
hooks = {
|
||||
# Reset display setting on login
|
||||
"UNBLANK" = ''
|
||||
${lib.getExe pkgs.autorandr} --change --ignore-lid
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
services.picom = {
|
||||
enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue