This commit is contained in:
Leonardo Eugênio 2025-02-21 00:28:03 -03:00
parent 321cb97502
commit 87167a660f
15 changed files with 233 additions and 232 deletions

View file

@ -5,18 +5,15 @@
...
}:
let
inherit (config.my)
key
accent
font
theme
;
inherit (theme) color;
asScript = filename: text: toString (pkgs.writeShellScript filename text);
cfg = config.my.swayidle;
in
{
services.swayidle = {
options.my.swayidle.enable = lib.mkEnableOption { };
config.services.swayidle = {
enable = cfg.enable;
timeouts = [
{
timeout = 360;