My nix-darwin and NixOS config
3
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: diagnostics for wallpaper

+39 -3
+3 -1
docs/wallpapers.md
··· 12 12 13 13 ```nix 14 14 workspace = { 15 - wallpaper = ../../wallpapers/wallpaper.jpg; 15 + wallpaper = "${../../wallpapers/wallpaper.jpg}"; 16 16 # ... other settings 17 17 }; 18 18 ``` 19 + 20 + Note: The string interpolation `"${...}"` is required to convert the path to a Nix store path string. 19 21 20 22 Applied automatically on every Home Manager rebuild. 21 23
+34
scripts/check-wallpaper-containment.sh
··· 1 + #!/usr/bin/env bash 2 + # Check the actual containment wallpaper settings 3 + 4 + echo "Checking wallpaper settings in containments..." 5 + echo "" 6 + 7 + CONFIG="/home/ewan/.config/plasma-org.kde.plasma.desktop-appletsrc" 8 + 9 + # Find all containment IDs 10 + CONTAINMENTS=$(grep "^\[Containments\]\[[0-9]*\]$" "$CONFIG" | grep -o "[0-9]*") 11 + 12 + for id in $CONTAINMENTS; do 13 + echo "=== Containment $id ===" 14 + 15 + # Check if it's a desktop containment 16 + TYPE=$(grep -A 50 "^\[Containments\]\[$id\]$" "$CONFIG" | grep "^activityId=" | head -1) 17 + 18 + if [ -n "$TYPE" ]; then 19 + echo "Type: Desktop containment" 20 + echo "" 21 + echo "Wallpaper config:" 22 + # Get the wallpaper section 23 + sed -n "/^\[Containments\]\[$id\]\[Wallpaper\]/,/^\[/p" "$CONFIG" | head -30 24 + echo "" 25 + fi 26 + done 27 + 28 + echo "" 29 + echo "=== Looking for Image= setting ===" 30 + grep -n "^Image=" "$CONFIG" || echo "No Image= setting found!" 31 + echo "" 32 + 33 + echo "=== Current plasmarc wallpapers section ===" 34 + grep -A 10 "\[Wallpapers\]" ~/.config/plasmarc
+2 -2
settings/plasma/default.nix
··· 137 137 # ── Workspace ───────────────────────────────────────────────────────────── 138 138 workspace = { 139 139 140 - # Wallpaper — direct path to wallpaper.jpg. 141 - wallpaper = ../../wallpapers/wallpaper.jpg; 140 + # Wallpaper — direct path to wallpaper.jpg (must be string-interpolated). 141 + wallpaper = "${../../wallpapers/wallpaper.jpg}"; 142 142 143 143 # Color scheme — from settings/config/desktop.nix. 144 144 # Explicit here so it always wins, even if the catppuccin module changes