From 2714672b54324b915658af67e8344f1e51b46a55 Mon Sep 17 00:00:00 2001 From: xenia Date: Fri, 21 Jun 2024 01:51:27 +0200 Subject: [PATCH] Set mac desktop background in darwin --- darwin.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/darwin.nix b/darwin.nix index 4ee0b385..458a3d4e 100644 --- a/darwin.nix +++ b/darwin.nix @@ -123,4 +123,8 @@ "/Applications/KiCad/KiCad.app/" "/Users/xenia/Applications/Home Manager Apps/Alacritty.app" ]; + + system.activationScripts.extraActivation.text = '' + osascript -e "tell application \"System Events\" to tell every desktop to set picture to \"${./backgrounds/pan-wire-3.png}\" as POSIX file" + ''; }