init
This commit is contained in:
28
check-theme
Normal file
28
check-theme
Normal file
@@ -0,0 +1,28 @@
|
||||
#! /bin/sh
|
||||
|
||||
##Common files
|
||||
manjaro=/usr/share/icons/manjaro/maia/maia.svg
|
||||
warning=/usr/share/icons/hicolor/40x40/status/check-warning.png
|
||||
|
||||
##Check theme
|
||||
if [[ ! -e /$HOME/.config/check-gdm-theme ]]; then
|
||||
|
||||
while gsettings get org.gnome.desktop.interface gtk-theme | grep -E 'Maia|Breath'; do
|
||||
sleep 30
|
||||
done
|
||||
|
||||
##Warning window
|
||||
yad --title="WARNING" --window-icon=$manjaro --on-top --center --image=$warning --width=475 --fixed --text="
|
||||
|
||||
We have detected a change in the Gnome theme.
|
||||
If new theme not working correctly remove this package via <b>pacman</b> or <b>pamac</b>
|
||||
|
||||
<b>manjaro-gdm-theme</b>
|
||||
|
||||
<b>Note:</b> this pop up will only be shown once" --text-align=left --button="Ok";
|
||||
|
||||
touch /$HOME/.config/check-gdm-theme
|
||||
|
||||
fi
|
||||
|
||||
exit 0
|
Reference in New Issue
Block a user