Preventing config errors
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
"custom/notifications",
|
||||
],
|
||||
|
||||
/*
|
||||
"custom/notifications": {
|
||||
"tooltip": false,
|
||||
"return-type": "json",
|
||||
@@ -35,6 +36,7 @@
|
||||
"on-click-right": "swaync-client -d",
|
||||
"on-click-middle": "swaync-client -dn",
|
||||
},
|
||||
*/
|
||||
|
||||
"idle_inhibitor": {
|
||||
"tooltip": true,
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user