darkman/DRY: remove unused comments

This commit is contained in:
Aminda Suomalainen 2025-07-10 17:30:40 +03:00
parent e740e5edf4
commit bb249de29e
Signed by: Mikaela
GPG Key ID: 99392F62BAE30723

View File

@ -2,23 +2,6 @@
set -x
#if ! hash lsb_release 2> /dev/null; then
# ERRORMESSAGE="lsb_release was not found, the wallpaper scripts cannot figure out the distribution"
# echo "$ERRORMESSAGE"
# notify-send --app-name=darkman --icon=error "$ERRORMESSAGE"
# exit 0
#fi
#if ! hash kvantummanager 2> /dev/null; then
# ERRORMESSAGE="kvantummanager wasn't found, Qt theme switching won't work!"
# echo "$ERRORMESSAGE"
# notify-send --app-name="darkman" --icon=error "$ERRORMESSAGE"
# exit 0
#fi
#export DISTROID="$(lsb_release -si)"
#export DISTROREL="$(lsb_release -sr)"
if [ -f /etc/os-release ]; then
. /etc/os-release
fi
@ -36,10 +19,3 @@ else
echo "$ERRORMESSAGE"
notify-send --app-name="darkman" --icon=error "$ERRORMESSAGE"
fi
#if [[ "$QT_STYLE_OVERRIDE" != "kvantum" ]]; then
# ERRORMESSAGE="\$QT_STYLE_OVERRIDE is not 'kvantum', Qt theme switching has no effect!"
# echo $ERRORMESSAGE
# notify-send --app-name="darkman" --icon=error "$ERRORMESSAGE"
# exit 0
#fi