Commit Graph

35 Commits

Author SHA1 Message Date
Vladyslav Hroshev
8da9b564be Removed deprecated test, new location for tests, init gresource test 2025-04-05 22:21:06 +03:00
Vladyslav Hroshev
ad8f3fb9bd Use __backup_gresource, simplified use_backup_gresource() 2025-04-04 20:54:08 +03:00
Vladyslav Hroshev
19cdad3041 Fixed GDM reinstallation, extracted gresource and update-alternatives logic 2025-04-04 20:25:57 +03:00
Vladyslav Hroshev
2ea1dd2d2d 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
2025-04-03 21:21:28 +03:00
Vladyslav Hroshev
8a377455ea Check for results in concurrent tasks, remove stop_after_first_installed_color flag 2025-04-02 21:37:52 +03:00
Vladyslav Hroshev
b44c12c18f Fixed lint with flake8. Update a Python version in README.md 2025-04-01 21:56:13 +03:00
Vladyslav Hroshev
75cbf08879 Fixed opaque tweak, decreased sleep in apply_gnome_theme 2025-04-01 21:20:28 +03:00
Vladyslav Hroshev
627e5b16ce Formatted logs 2025-04-01 21:16:28 +03:00
Vladyslav Hroshev
e46181e19d Fixed concurrent installation, replaced misspelled class
- Removed redundant theme.prepare() in LocalThemeInstaller._install_theme() (already calls in abstract ThemeInstaller);
- Replaced misspelled class in messages.css
2025-04-01 19:34:00 +03:00
Vladyslav Hroshev
038c2fcda1 Run installation concurrently (Unexpected behavior), class for managing console lines 2025-04-01 19:11:06 +03:00
Vladyslav Hroshev
e5f8662269 Fixed GDM installation, reworked label_files.py, fixed theme removing 2025-04-01 13:23:46 +03:00
Vladyslav Hroshev
860cacaa2c Extracted installation methods, created a new class for theme installers 2025-03-31 23:53:14 +03:00
Vladyslav Hroshev
163bfdef5a Reworked uninstallation process
- Support uninstalling all themes and specified colors/modes only;
- For reinstallation should be specified -ri argument;
- Fixed theme removal in /root directory;
- Fixed --help;
- Closes #36.
2025-03-28 19:35:31 +02:00
Vladyslav Hroshev
028f2d211d I hate GitHub Actions 2025-03-26 20:33:19 +02:00
Vladyslav Hroshev
9f77980c27 Ability to set image as GDM background
Closes #40.
2025-03-26 20:27:16 +02:00
Vladyslav Hroshev
3229d765f7 Fixed installation if in versions folder is missing css subfolder
Finally the single test was really useful
2025-03-25 19:01:08 +02:00
Vladyslav Hroshev
cf007eab54 Datemenu spacing improvements, modal/script/notif buttons fixes
- Now "spacing" property is responsible for spacings in datemenu, not components with margins. Looks the same on 47 and 43;
- Fixed styles mismatch on older GNOME versions;
- Fixed notification buttons on older GNOME versions;
- Fixed some buttons in login/unlock dialogs on older GNOME versions;
- Fixed an issue where generate_file moved specific GNOME version assets to marble folder instead of copying them to temp folder;
2025-03-17 14:23:57 +02:00
Vladyslav Hroshev
1bc6a89d77 Support GDM installation for GNOME versions below 44
- Fixes #33, #19;
- Show user-friendly message if glib2-devel is not installed;
- Use tempfile for temp folder;
- Little code improvements;
- Tried to fix not passing test.
2025-03-16 18:25:00 +02:00
Vladyslav Hroshev
8cce85a437 GNOME dependable installation, structure and style improvements
Split utils in utils.py to a directory
Moved ./gnome-shell_css/ to ./gnome-shell/.css/
2024-09-30 00:14:09 +03:00
Vladyslav Hroshev
7c7a474ad0 Make installation undependable from tweaks
Updated copyright years ("better late than never" ahh change)
2024-09-01 21:21:46 +03:00
Vladyslav Hroshev
d2cc0a00b5 Fixed #25 on-screen keyboard 2024-05-11 14:34:55 +03:00
Vladyslav Hroshev
8a41273fbc Fix file handling issues that breaks GDM theme 2024-03-25 23:47:28 +02:00
Vladyslav Hroshev
71d37c40f9 Refactor theme installation code to use subprocess.run() 2024-03-25 23:47:19 +02:00
Vladyslav Hroshev
22126706e8 Update color lightness values to 100 in colors.json and fix RGB conversion in theme.py
Incorrect RGB values in borders was seen in #14
2023-12-31 22:24:15 +02:00
Vladyslav Hroshev
da440e7a19 Add some tweaks that helps to install theme globally 2023-12-16 18:02:21 +02:00
Vladyslav Hroshev
dc6c31041f Make code more readable 2023-12-16 18:01:48 +02:00
Vladyslav Hroshev
6cd2090af1 Fix death screen on Fedora after installing GDM 2023-12-15 13:37:34 +02:00
Vladyslav Hroshev
068207c949 Add ability to remove GDM theme 2023-12-10 23:09:34 +02:00
Vladyslav Hroshev
253913ae40 Add ability to set theme globally 2023-12-10 22:47:34 +02:00
Vladyslav Hroshev
bdd74f94bf Fix "ERROR: file or directory not found: tests.py" 2023-12-09 20:10:10 +02:00
Vladyslav Hroshev
99d4f2e425 Initial test 2023-12-09 19:23:53 +02:00
Vladyslav Hroshev
8525dc0a8d Remove config from theme.py because of it no longer depends on project folder 2023-12-09 19:23:34 +02:00
Vladyslav Hroshev
992d3122df Fix unclosed file warning 2023-12-09 19:17:35 +02:00
Vladyslav Hroshev
a58d55c53a Add some missing changes from c02ead2 2023-12-09 17:07:18 +02:00
Vladyslav Hroshev
c02ead2fff Code changes and improvements
Split install.py into several files
Part of code for creating a directory from copy_files was removed due to the availability of such a function in standard Python libraries
Tried to make theme installation process less dependent on the project root folder
2023-12-09 16:37:55 +02:00