init
This commit is contained in:
.faceLICENSEMakefileREADME.mdcheck-themecheck-theme.desktopcheck-warning.pngextractgst.shgdm-theme-backup.hookgdm-theme-backup.scriptgdm-theme-maia-install.hookgdm-theme-maia-install.scriptgdm-theme-maia-remove.hookgdm-theme-maia-remove.scriptrecolor.sh
theme
branding.pngcalendar-today.svgcheckbox-focused.svgcheckbox-off-focused.svgcheckbox-off.svgcheckbox.svgdash-placeholder.svggnome-shell-high-contrast.cssgnome-shell-theme.gresourcegnome-shell-theme.gresource.xmlgnome-shell.css
icons
key-enter.svgkey-hide.svgkey-layout.svgkey-shift-latched-uppercase.svgkey-shift-uppercase.svgkey-shift.svgmanjaro.pngno-events.svgno-notifications.svgnoise-texture.pngpad-osd.cssprocess-working.svgtoggle-off-hc.svgtoggle-off-intl.svgtoggle-on-hc.svgtoggle-on-intl.svg
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