Commit Graph

223 Commits

Author SHA1 Message Date
Vladyslav Hroshev
32751ceafb Floating panel tweak; Fixed opaque, panel text color tweaks
- Closes #57;
- Added floating panel tweak. Supports opaque tweak;
- Fixed an issue when opaque tweak does not apply to translucent background;
- Fixed an issue when panel text color tweak does not apply to clock button correctly and defined color does not work in overview. Extracted panel text color tweak to another function;
- Renamed BUTTON-CLOSE-COLOR to ACCENT-DISABLED-OPAQUE-COLOR;
2025-04-19 19:43:01 +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
62a253188d Fixed clock button in panel-no-pill tweak 2025-04-17 21:25:14 +03:00
Vladyslav Hroshev
0a7b4da405 Merge pull request #55 from imarkoff/unstable
Added group panel buttons tweak
2025-04-16 16:23:26 +03:00
Vladyslav Hroshev
ad9a2b4034 Update README.md 2025-04-16 16:20:14 +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
1ff3f6e17b Added group panel buttons tweak 2025-04-16 13:29:57 +03:00
Vladyslav Hroshev
e774f2437a Merge pull request #54 from imarkoff/unstable
SOLID refactoring, covered the program with tests
2025-04-13 23:53:10 +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
48d10df4b1 Temporary patch gnome_shell by using subprocess 2025-04-11 23:03:37 +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
28dc2f81ab Merge pull request #53 from imarkoff/unstable
Ability to install GDM theming on Ubuntu
2025-04-04 20:55:43 +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
4494e98080 Bring back removing temporary files 2025-04-03 21:46:17 +03:00
Vladyslav Hroshev
6f5f2b4cac Updated README.md 2025-04-03 21:33:49 +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
be656efa4e Merge pull request #52 from imarkoff/unstable
Colored logs, object oriented refactoring.
2025-04-01 22:00:11 +03:00
Vladyslav Hroshev
ef357ee6e2 Updated Python version in workflow 2025-04-01 21:58:46 +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
1bd1b781db Updated images 2025-03-29 22:19:53 +02: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
a0229454b1 Update bug report template 2025-03-27 23:11:03 +02:00
Vladyslav Hroshev
58e6a0f7a8 Update README.md 2025-03-26 20:42:20 +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
d6250ca33a Temporary added new colors for second and third message in stack 48.0.1 2025-03-25 19:25:52 +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
11a470d176 --wider-panel tweak. Fixed button when clicked out of its bounds in -Pnp.
Closes #48.
2025-03-25 18:44:19 +02:00
Vladyslav Hroshev
425ef5229a Use own spinner for GNOME versions older than 48 2025-03-25 18:06:55 +02:00
Vladyslav Hroshev
35bf19b445 Fixed quick toggle separator 2025-03-25 17:41:51 +02:00
Vladyslav Hroshev
d8722d7f7a GNOME 48 support. Fixed messages, decreased calendar. Fixed #50 2025-03-25 17:26:23 +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
ad3078e498 Bring back color for last button in modals 2025-03-10 18:57:27 +02:00
Vladyslav Hroshev
1e83e073f7 Added small vertical margin to popovers because of panel 47.0 2025-03-09 16:03:51 +02:00
Vladyslav Hroshev
192ce109d0 Removed redundant padding for app-menu 2025-03-09 13:42:47 +02:00