From 9e596d9ab0533a7609cdda86ad5dd7bf6f776b68 Mon Sep 17 00:00:00 2001 From: albert Date: Fri, 26 Jul 2024 19:18:10 +0900 Subject: [PATCH] Update darkman --- home-manager/common/desktops/plasma6/default.nix | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/home-manager/common/desktops/plasma6/default.nix b/home-manager/common/desktops/plasma6/default.nix index f493688e..ee803655 100644 --- a/home-manager/common/desktops/plasma6/default.nix +++ b/home-manager/common/desktops/plasma6/default.nix @@ -20,12 +20,16 @@ services.darkman = { enable = true; - darkModeScripts = '' - /run/current-system/sw/bin/plasma-apply-colorscheme ArcDark - ''; - lightModeScripts = '' - /run/current-system/sw/bin/plasma-apply-colorscheme Arc - ''; + darkModeScripts = { + apply-colorscheme-dark = '' + /run/current-system/sw/bin/plasma-apply-colorscheme ArcDark + '' + }; + lightModeScripts = { + apply-colorscheme-light = '' + /run/current-system/sw/bin/plasma-apply-colorscheme Arc + '' + }; settings = { # lat = 10; # log = 10;