Signed-off-by: Christoph Schmatzler <christoph@schmatzler.com>
This commit is contained in:
2025-08-16 19:13:38 +00:00
parent 8bd245d495
commit 28bedadc16
4 changed files with 11 additions and 4 deletions

View File

@@ -0,0 +1,10 @@
{pkgs}: let
wallpaper = pkgs.fetchurl {
url = "https://misc-assets.raycast.com/wallpapers/loupe-mono-dark.heic";
sha256 = "sha256-MwvRU7U4tO6F1duxBrHLOd7F5Gnzv/zyiZkm5EFqkY4=";
};
in
pkgs.writeShellScriptBin "set-wallpaper-script" ''
set -e
/usr/bin/osascript -e "tell application \"Finder\" to set desktop picture to POSIX file \"${wallpaper}\""
''