Skip to content

Commit

Permalink
support 4 dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
dzmanto committed Aug 16, 2022
1 parent 8657270 commit b527786
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bing_wallpaper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -368,9 +368,11 @@ while true; do
export DBUS_SESSION_BUS_ADDRESS=$(grep -z DBUS_SESSION_BUS_ADDRESS /proc/$PID/environ|cut -d= -f2-)
fi
done
# Set the GNOME3 wallpaper
# set the GNOME3 wallpaper in normal mode & in dark mode
gsettings set org.gnome.desktop.background picture-options $picOpts
gsettings set org.gnome.desktop.background picture-uri '"file://'$tfn'"'
gsettings set org.gnome.desktop.background picture-uri-dark '"file://'$tfn'"'

elif [ "$DE" = "kde" ]; then

qdbus org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.evaluateScript 'string:
Expand Down

0 comments on commit b527786

Please sign in to comment.