Preventing config errors

This commit is contained in:
2026-03-04 18:53:28 +01:00
parent 0a9f2731de
commit 34f8816b16
2 changed files with 5 additions and 3 deletions
@@ -19,7 +19,8 @@
"custom/notifications",
],
"custom/notifications": {
/*
"custom/notifications": {
"tooltip": false,
"return-type": "json",
"exec-if": "which swaync-client",
@@ -35,6 +36,7 @@
"on-click-right": "swaync-client -d",
"on-click-middle": "swaync-client -dn",
},
*/
"idle_inhibitor": {
"tooltip": true,
+2 -2
View File
@@ -1,6 +1,6 @@
{ lib, config, pkgs, ... }:
{ lib, config, pkgs, flakeRoot ... }:
let
scriptPath = ./assets/scripts/end_script.sh;
scriptPath = flakeRoot + "./assets/scripts/end_script.sh";
scriptExists = lib.fileExists "${scriptPath}";
in
{