kde: remove redundant function declaration space (#305)

This commit is contained in:
NAHO 2024-03-30 08:33:32 +01:00 committed by GitHub
parent 75fd247712
commit 504c54dbf1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"