Update bin/periodic/fix-theming

This commit is contained in:
Tio TROM 2023-08-10 18:38:06 +02:00
parent 08a72d4659
commit 8b63ce497f

View File

@ -108,6 +108,7 @@ hdpi_theme_fix() {
fi fi
# Show popup menu about logout if it's required # Show popup menu about logout if it's required
[ "$logout_required" = 'true' ] && [ "$logout_required" = 'true' ] &&
[ "$1" != 'no_hdpi_notification' ] &&
yad --image "dialog-question" --title "Alert" --buttons-layout=center --text-align=center --button=yad-yes:0 --button=yad-no:1 --text 'Logout is required in order to apply the DPI preferences to the QT apps.\nWould you like to logout now?' && yad --image "dialog-question" --title "Alert" --buttons-layout=center --text-align=center --button=yad-yes:0 --button=yad-no:1 --text 'Logout is required in order to apply the DPI preferences to the QT apps.\nWould you like to logout now?' &&
xfce4-session-logout --logout xfce4-session-logout --logout
} }