mirror of
https://github.com/vinceliuice/WhiteSur-gtk-theme.git
synced 2026-04-20 02:45:21 +00:00
Fixed ubuntu gdm issues
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -9,3 +9,4 @@ src/main/gnome-shell/gnome-shell-Dark.css
|
||||
src/main/gnome-shell/gnome-shell-Light.css
|
||||
src/other/dash-to-dock/stylesheet.css
|
||||
src/other/dash-to-dock/stylesheet-dark.css
|
||||
other/gdm/gnome-shell-theme.gresource
|
||||
|
||||
@@ -701,19 +701,25 @@ install_gdm_theme() {
|
||||
}
|
||||
|
||||
install_only_gdm_theme() {
|
||||
if check_theme_file "$MISC_GR_FILE"; then
|
||||
if check_theme_file "$POP_OS_GR_FILE"; then
|
||||
TARGET="${POP_OS_GR_FILE}"
|
||||
elif check_theme_file "$YARU_GR_FILE"; then
|
||||
TARGET="${YARU_GR_FILE}"
|
||||
elif check_theme_file "$ZORIN_GR_FILE"; then
|
||||
TARGET="${ZORIN_GR_FILE}"
|
||||
elif check_theme_file "$MISC_GR_FILE"; then
|
||||
TARGET="${MISC_GR_FILE}"
|
||||
else
|
||||
prompt -e "\n $MISC_GR_FILE File not found! exit..."; exit 1
|
||||
prompt -e "\n GDM Theme File not found! exit..."; exit 1
|
||||
fi
|
||||
|
||||
install_theme_deps; install_beggy "${WHITESUR_TMP_DIR}/gdm"
|
||||
local GDM_TMP_DIR="${WHITESUR_TMP_DIR}/gdm"
|
||||
|
||||
local TARGET_DIR="${WHITESUR_TMP_DIR}/gdm"
|
||||
install_theme_deps; install_beggy "${GDM_TMP_DIR}"
|
||||
|
||||
mkdir -p "${TARGET_DIR}"
|
||||
cp -r "${REPO_DIR}/other/gdm/theme" "${TARGET_DIR}"
|
||||
cp -r "${WHITESUR_TMP_DIR}/beggy.png" "${TARGET_DIR}/theme/background.png"
|
||||
mkdir -p "${GDM_TMP_DIR}"
|
||||
cp -r "${REPO_DIR}/other/gdm/theme" "${GDM_TMP_DIR}"
|
||||
cp -r "${WHITESUR_TMP_DIR}/beggy.png" "${GDM_TMP_DIR}/theme/background.png"
|
||||
|
||||
# For Kali Linux GDM >>>
|
||||
local KALI_BACKGROUND_FOLDER="/usr/share/desktop-base/kali-theme/login"
|
||||
@@ -725,7 +731,7 @@ install_only_gdm_theme() {
|
||||
# For Kali Linux GDM <<<
|
||||
|
||||
backup_file "${TARGET}"
|
||||
glib-compile-resources --sourcedir="${WHITESUR_TMP_DIR}/gdm/theme" --target="${TARGET}" "${GDM_GR_XML_FILE}"
|
||||
glib-compile-resources --sourcedir="${GDM_TMP_DIR}/theme" --target="${TARGET}" "${GDM_GR_XML_FILE}"
|
||||
}
|
||||
|
||||
revert_gdm_theme() {
|
||||
|
||||
Binary file not shown.
@@ -10,5 +10,10 @@
|
||||
<file>pad-osd.css</file>
|
||||
<file>workspace-placeholder.svg</file>
|
||||
<file>background.png</file>
|
||||
<file alias="gdm.css">gnome-shell-dark.css</file>
|
||||
<file alias="gdm3.css">gnome-shell-dark.css</file>
|
||||
<file alias="Yaru/gnome-shell.css">gnome-shell-light.css</file>
|
||||
<file alias="Yaru/gnome-shell-dark.css">gnome-shell-dark.css</file>
|
||||
<file alias="Yaru-dark/gnome-shell.css">gnome-shell-dark.css</file>
|
||||
</gresource>
|
||||
</gresources>
|
||||
|
||||
Reference in New Issue
Block a user