From 504c54dbf1d91857b52133ee9c9bd4c526b3275c Mon Sep 17 00:00:00 2001 From: NAHO <90870942+trueNAHO@users.noreply.github.com> Date: Sat, 30 Mar 2024 08:33:32 +0100 Subject: [PATCH] kde: remove redundant function declaration space (#305) --- modules/kde/hm.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/kde/hm.nix b/modules/kde/hm.nix index 007f7b85..c59fc4fe 100644 --- a/modules/kde/hm.nix +++ b/modules/kde/hm.nix @@ -152,7 +152,7 @@ let wallpaper="$out/share/wallpapers/stylix" lookandfeel="$out/share/plasma/look-and-feel/stylix" - writeText () { + writeText() { mkdir -p "$(dirname "$2")" echo "$1" >"$2" } @@ -233,7 +233,7 @@ in { # changes to KDE to make it possible to update the wallpaper through # config files alone. home.activation.stylixLookAndFeel = lib.hm.dag.entryAfter [ "writeBoundary" ] '' - globalPath () { + globalPath() { for dir in /run/current-system/sw/bin /usr/bin /bin; do if [ -f "$dir/$1" ]; then echo "$dir/$1"