darkman: show icons also for the theme change

This commit is contained in:
Aminda Suomalainen 2024-07-20 08:39:12 +03:00
parent ca876caea0
commit 3ca884e828
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -12,4 +12,10 @@ export DARKMANGET=$(darkman get)
printf "Distribution: $DISTROID\nRelease: $DISTROREL\nMode: $DARKMANGET\n"
(notify-send --app-name="darkman" --urgency=low --icon=darkman "Teema: $DARKMANGET" &)
if [[ "$DARKMANGET" == "dark" ]]; then
(notify-send --app-name="darkman" --urgency=low --icon=weather-clear-night "Teema: $DARKMANGET" &)
elif [[ "$DARKMANGET" == "light" ]]; then
(notify-send --app-name="darkman" --urgency=low --icon=weather-clear "Teema: $DARKMANGET" &)
else
echo "darkman: Something went wrong?"
fi