From bb249de29e2ff5e1b82c78d5772df4c595f01e19 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Thu, 10 Jul 2025 17:30:40 +0300 Subject: [PATCH] darkman/DRY: remove unused comments --- .../00-do-not-repeat-yourself.bash | 24 ------------------- 1 file changed, 24 deletions(-) diff --git a/local/share/dark-mode.d/00-do-not-repeat-yourself.bash b/local/share/dark-mode.d/00-do-not-repeat-yourself.bash index b240de1a..90e5fc2c 100755 --- a/local/share/dark-mode.d/00-do-not-repeat-yourself.bash +++ b/local/share/dark-mode.d/00-do-not-repeat-yourself.bash @@ -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