Added support for installing GDM theming on Ubuntu

- From now GlobalTheme use another method to check does GDM support light/dark mode or not
- Structurized GlobalTheme methods
- Lowered Python version from 3.12 to 3.10
This commit is contained in:
Vladyslav Hroshev
2025-04-03 21:21:28 +03:00
parent 8a377455ea
commit 2ea1dd2d2d
5 changed files with 225 additions and 130 deletions

View File

@@ -1,3 +1,4 @@
import os.path
from tempfile import gettempdir
# folder definitions
@@ -13,6 +14,7 @@ scripts_folder = "scripts"
# GDM definitions
global_gnome_shell_theme = "/usr/share/gnome-shell"
gnome_shell_gresource = "gnome-shell-theme.gresource"
ubuntu_gresource_link = "gtk-theme.gresource"
extracted_gdm_folder = "theme"
# files definitions