From 045f65f27c2659c48d9b2955d102fe1e8d7e16d2 Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Thu, 8 Jan 2026 22:51:28 +0000 Subject: [PATCH] [macos] Fix wallpaper switcher --- macos/.config/shell-common/99_macos.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macos/.config/shell-common/99_macos.sh b/macos/.config/shell-common/99_macos.sh index 5f01405..8801ca3 100644 --- a/macos/.config/shell-common/99_macos.sh +++ b/macos/.config/shell-common/99_macos.sh @@ -106,7 +106,7 @@ function set_wallpaper() { if [[ $(uname) == 'Darwin' ]]; then # Set the wallpaper using AppleScript - osascript -e "tell application \"Finder\" to set desktop picture to POSIX file \"$wallpaper_path\"" + osascript -e "tell application \"System Events\" to set picture of every desktop to POSIX file \"$wallpaper_path\"" if [ $? -eq 0 ]; then echo "Wallpaper set successfully: $wallpaper_path"