Warning, file /plasma/kwin/kconf_update/kwin-5.23-disable-translucency-effect.sh was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 #!/bin/sh 0002 0003 HAS_ENABLED_KEY='' 0004 HAS_CUSTOM_CONFIG='' 0005 0006 kwinrcname=`qtpaths --locate-file GenericConfigLocation kwinrc` 0007 if [ -f "$kwinrcname" ]; then 0008 if grep -q "\[Effect-kwin4_effect_translucency\]" "$kwinrcname"; then 0009 HAS_CUSTOM_CONFIG=1 0010 fi 0011 fi 0012 0013 while read -r line; do 0014 KEY="${line%=*}" 0015 if [ "$KEY" = "kwin4_effect_translucencyEnabled" ]; then 0016 HAS_ENABLED_KEY=1 0017 fi 0018 echo "$line" 0019 done 0020 0021 if [ -n "$HAS_CUSTOM_CONFIG" ] && [ -z "$HAS_ENABLED_KEY" ]; then 0022 echo "kwin4_effect_translucencyEnabled=true" 0023 fi