27 Commits

Author SHA1 Message Date
Vladyslav Hroshev
407aaf9c52 Fixed saturation overflow in --sat tweak. Fixes #59 2025-04-24 09:05:03 +03:00
Vladyslav Hroshev
7bdd7584ff Fixed #56. Use another way to supress stdout for update-alternatives 2025-04-18 19:38:20 +03:00
Vladyslav Hroshev
408fe473ee 'border' as panel button border, add_from_file method
- Use 'border' as panel button border, not 'box-shadow';
- Added add_from_file method to ThemePreparation.
2025-04-16 15:53:36 +03:00
Vladyslav Hroshev
58658ff7fc Cover GDM module with tests, added FilesLabelerFactory, renamed GdmBuilder 2025-04-13 23:50:22 +03:00
Vladyslav Hroshev
ca4e4d4cbe Refactor GDM module to correspond SOLID principles
- I don't know how I will support this hell ahh code;
- Added some methods to gnome_shell_theme_builder.py;
- Added "color" property "install" method from theme_base.py.
2025-04-12 23:30:34 +03:00
Vladyslav Hroshev
abfe1f5962 Covered Theme module with tests
- Extracted `ColorReplacementGenerator`;
- Extracted `ColorConverterImpl`;
- Added documentation to some classes;
- `hex_to_rgba` now supports shorthand hex colors (#fff).
2025-04-11 22:53:30 +03:00
Vladyslav Hroshev
29485ddf1e Extracted dependencies in ThemePreparation 2025-04-11 17:17:13 +03:00
Vladyslav Hroshev
40a88cb7f4 Refactored Theme class to correspond SOLID patterns 2025-04-10 18:29:19 +03:00
Vladyslav Hroshev
31e1a3deb9 TESTS TESTS ADDED MORE TEST TESTED GRESOURCES TESTS TESTS I LOVE TESTS SO MUCH
- Fully covered gresource orchestrator and it helpers with tests
- Use abstract command runner INSTEAD OF SUBPROCESS in gresources
- Replaced some subprocesses by builtin functions
2025-04-06 21:56:27 +03:00
Vladyslav Hroshev
9bb229df7d Completely refactored gresource to correspond SOLID principles
- Create logger interface and updated its usage by console.py
2025-04-06 17:02:49 +03:00
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
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
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