Commit graph

1551 commits

Author SHA1 Message Date
Adil Hanney
e63948338a
fix: adjust backups since we're not symlinking anymore 2026-02-17 15:44:56 +00:00
Adil Hanney
f2ef89831c
tweak: copy values into kdeglobals instead of replacing it
Preserves other user settings, and this is how KDE does it
2026-02-17 15:09:26 +00:00
Adil Hanney
48cadf57d7
chore: resolve merge conflict without merging 2026-02-11 00:24:18 +00:00
Adil Hanney
3b1452d354
feat: configure qt5ct and qt6ct 2026-02-11 00:18:56 +00:00
Adil Hanney
7ba564795a
fix: misc syntax errors 2026-02-11 00:18:51 +00:00
Adil Hanney
68600d2dc1
tweak: retire CosmicAdaptive.colors for next patch 2026-02-10 23:44:51 +00:00
Adil Hanney
db763e63a7
feat: set qt icon theme (Breeze) and widget style (qt6ct) 2026-02-10 23:44:51 +00:00
Adil Hanney
434a7374a8
Revert "tweak: use format_args for efficiency"
This reverts commit 61486fae7d.

We convert the color inside the function, so we can't reference it outside the function

error[E0515]: cannot return value referencing local variable `c_u8`
   --> /home/ahann/Documents/GitHub/libcosmic/cosmic-theme/src/output/qt_output.rs:340:5
    |
340 |     format_args!("{},{},{}", c_u8.red, c_u8.green, c_u8.blue)
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----^^^^^^
    |     |                                              |
    |     |                                              `c_u8` is borrowed here
    |     returns a value referencing data owned by the current function
    |
2026-02-10 23:44:51 +00:00
Adil Hanney
371cd1f542
tweak: return format! string directly 2026-02-10 21:46:08 +00:00
Adil Hanney
61486fae7d
tweak: use format_args for efficiency 2026-02-10 21:42:48 +00:00
Adil Hanney
4259ed78b9
tweak: write to temp file first 2026-02-10 19:25:03 +00:00
Adil Hanney
98810952c5
chore: move todo into doc comment 2026-02-10 19:19:29 +00:00
Adil Hanney
77ecc2034c
tweak: use path.with_added_extension 2026-02-10 15:55:19 +00:00
Adil Hanney
8fa5251f62
chore: don't try to backup CosmicAdaptive.colors 2026-02-10 15:52:47 +00:00
Adil Hanney
76aeac9a2e
fix: correct decorations for selection_colors 2026-02-10 15:24:51 +00:00
Adil Hanney
6518eb9dfe
Add CosmicAdaptive.colors symlink 2026-02-10 03:00:21 +00:00
Adil Hanney
86c83a4ec9
fix: flatten translucent colors in to_rgb 2026-02-10 02:43:15 +00:00
Adil Hanney
6fb45b99f5
tweak: redefine window and view colors 2026-02-10 02:23:15 +00:00
Adil Hanney
2a2e455151
Set window titlebar colors 2026-02-10 00:58:59 +00:00
Adil Hanney
b585b29de9
Misc cleanup 2026-02-10 00:57:42 +00:00
Adil Hanney
7cd9f93395
Add apply_exports_static for convenience 2026-02-10 00:09:18 +00:00
Adil Hanney
3712406972
Apply qt theme 2026-02-09 23:23:06 +00:00
Adil Hanney
4fb4542d69
Add color scheme for qt apps 2026-02-09 23:22:58 +00:00
Vukašin Vojinović
e568122083 fix(context_drawer): title alignment
Something caused text alignment to break, so this gets around it by wrapping the text in a container.
2025-09-11 10:49:26 -04:00
Ashley Wulber
31aa0bd3df chore: update iced 2025-09-10 17:34:01 +02:00
Vukašin Vojinović
e83e43bf1e fix(icon): always set size
Fixes an oversight in my previous commit 39a5607400.
2025-09-09 16:53:18 +02:00
Vukašin Vojinović
39a5607400 improv(icon): use correct size variant for Named
Update`Icon::size` method to correctly handle `Named` icons by using the provided size retroactively.
2025-09-09 15:57:11 +02:00
Jeremy Soller
ac18f009b4
Update iced 2025-09-07 19:17:59 -06:00
Vukašin Vojinović
066999586b
feat: add i18n support for libcosmic widgets 2025-09-05 18:50:25 +02:00
Vukašin Vojinović
ea349aca82 chore: use std::syncLazyLock
Also migrates workspace members to Rust 2024.
2025-09-03 21:54:46 +02:00
Vukašin Vojinović
b72b15d719 chore: update dependencies 2025-09-03 21:54:46 +02:00
UchiWerfer
c5df9dcf88
fix(calendar): show button icons on non-Linux targets 2025-09-03 19:35:37 +02:00
Ashley Wulber
f5f7c14f03 chore: update cctk 2025-09-03 19:33:34 +02:00
Tony4dev
2dd6dce053
improv(about): support custom license URLs 2025-09-03 14:49:35 +02:00
Ashley Wulber
4d06524f2c chore: update iced 2025-09-02 18:03:05 +02:00
Ashley Wulber
364c0b9381 refactor(theme): .65 opacity for disabled button text 2025-08-26 15:22:22 -06:00
Ashley Wulber
94ee4e1915 theme: fix disabled button 2025-08-26 13:18:23 -06:00
Ashley Wulber
6f1fe2a28b chore: update libcosmic 2025-08-25 17:35:21 +02:00
Ian Douglas Scott
66a2632e2e fix(cosmic-config): Fixes for error printing
* Use `tracing::error!` in places where `eprintln!` was used
* Loop over errors and print seperately
* Print errors with `Display` rather than `Debug`
* Don't print errors that should be ignored
  - Matches https://github.com/pop-os/libcosmic/pull/949, for same
    reasons.

With this, and the previous change, cosmic-panel no longer spams a bunch
of config errors from different applets on start.
2025-08-23 00:49:31 +02:00
Ian Douglas Scott
2d62503fdf
fix: don't error when default config for toolkit settings is not present 2025-08-22 22:41:12 +02:00
Jeremy Soller
8415d77b0a
feat(settings/section): support custom header widgets 2025-08-21 10:51:36 -06:00
Soso
29f38f83a3
fix(about): wrong icon size in about widget 2025-08-20 17:33:55 +02:00
Ashley Wulber
ba2f4b193a fix(theme): control tint colors need to be reversed for light theme 2025-08-20 17:32:49 +02:00
Michael Aaron Murphy
e7b7c3a126 improv: enable dbus-config by default, but only for Linux targets 2025-08-20 17:31:26 +02:00
Michael Aaron Murphy
6e7a634398
fix(segmented_button): draw all indent levels 2025-08-19 16:31:19 +02:00
Michael Aaron Murphy
c10695600b
feat(segmented_button): add FileNav style with related widget improvements 2025-08-19 11:13:28 +02:00
Michael Aaron Murphy
8412dd5939
fix(image_button): improve rendering of selected image buttons 2025-08-13 21:39:29 +02:00
Michael Aaron Murphy
7712ec0021
fix(context_drawer): adjust fill portion when max_width < 392 2025-08-13 20:06:06 +02:00
Michael Aaron Murphy
95ebabf149
improv(segmented_button): hide focus state until tabbed 2025-08-13 12:20:22 +02:00
Michael Aaron Murphy
5434dc95d5
feat(segmented_button): pressed state style 2025-08-13 12:13:05 +02:00