Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1760430d0e | |||
| 34f8816b16 |
@@ -19,7 +19,8 @@
|
|||||||
"custom/notifications",
|
"custom/notifications",
|
||||||
],
|
],
|
||||||
|
|
||||||
"custom/notifications": {
|
/*
|
||||||
|
"custom/notifications": {
|
||||||
"tooltip": false,
|
"tooltip": false,
|
||||||
"return-type": "json",
|
"return-type": "json",
|
||||||
"exec-if": "which swaync-client",
|
"exec-if": "which swaync-client",
|
||||||
@@ -35,6 +36,7 @@
|
|||||||
"on-click-right": "swaync-client -d",
|
"on-click-right": "swaync-client -d",
|
||||||
"on-click-middle": "swaync-client -dn",
|
"on-click-middle": "swaync-client -dn",
|
||||||
},
|
},
|
||||||
|
*/
|
||||||
|
|
||||||
"idle_inhibitor": {
|
"idle_inhibitor": {
|
||||||
"tooltip": true,
|
"tooltip": true,
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{ lib, config, pkgs, ... }:
|
{ lib, config, pkgs, flakeRoot ... }:
|
||||||
let
|
let
|
||||||
scriptPath = ./assets/scripts/end_script.sh;
|
scriptPath = flakeRoot + "/assets/scripts/end_script.sh";
|
||||||
scriptExists = lib.fileExists "${scriptPath}";
|
scriptExists = lib.fileExists scriptPath;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
systemd.user.services.endScript = lib.mkIf scriptExists {
|
systemd.user.services.endScript = lib.mkIf scriptExists {
|
||||||
|
|||||||
Reference in New Issue
Block a user