Commit graph

457 commits

Author SHA1 Message Date
Vukašin Vojinović
20bb8d088e improv(applets_inner): always show placeholder on empty segments
This makes it clearer that applets can be placed in those segments before a drag is started, and prevents things moving around when the drag is started.
2025-10-31 12:26:37 -04:00
Vukašin Vojinović
b3be053f33 chore: clippy 2025-10-31 12:26:37 -04:00
Ian Douglas Scott
ffdd122bf8
chore: fix compiler warnings 2025-10-28 13:19:16 +01:00
Ada Alakbarova
c98044cab1 chore: don't needlessly partial_cmp two &strs
As `STR_ORDER` states, `&str` implements `Ord`, and thus has access to
the infallible `cmp`
2025-10-22 04:32:19 +02:00
Michael Aaron Murphy
600720b7d1 feat: merge subscriptions crate into cosmic-settings repo 2025-10-08 21:48:23 +02:00
Ashley Wulber
eaea489d79 chore: update deps 2025-10-07 13:30:08 -04:00
Ashley Wulber
c2fa21debc fix: allow no modifier for function keys 2025-10-07 13:30:08 -04:00
Jonathan Capps
b6fc00972d
fix(panel): case insensitive applet search 2025-10-07 15:50:32 +02:00
Ashley Wulber
426fab97b3 chore: update libcosmic 2025-10-03 18:21:25 -04:00
Ashley Wulber
4e17382b14 chore: use same laptop display check as cosmic-comp 2025-10-02 12:25:48 -04:00
Vukašin Vojinović
a865d6b101 chore(date): match selected timezone styling to designs 2025-10-01 20:42:35 +02:00
Vukašin Vojinović
2d6d507a48 chore: clippy 2025-10-01 20:42:35 +02:00
Vukašin Vojinović
75256dac19 chore(font_config): match selected font styling to designs 2025-10-01 20:42:35 +02:00
Lampan-git
2d66960671 fix(region): dont update time settings on set_locale failure
this fixes so that time settings are  not changed if failed to
authenticate etc.
2025-09-29 15:46:39 +02:00
Ashley Wulber
590d191d7f chore: remove branch 2025-09-29 09:46:09 -04:00
Ashley Wulber
e3e1c5b204 fix(shortcuts): handling of super modifier and search 2025-09-29 09:46:09 -04:00
Jason Mobarak
c1756b8ce3 fix: add unhide_delay for panels 2025-09-26 19:03:44 -04:00
Michael Aaron Murphy
47f6991708 feat(power): subscribe to battery events
Adds subscriptions for watching battery status changes for the system and all
connected devices with batteries.

Closes #1317
2025-09-24 16:19:22 +02:00
Michael Murphy
667de016bf
fix(power): connected devices may contain duplicates
It is not valid to have multiple devices with the same device path. When a new
device connection is received, check for an existing `ConnectedDevice` with the
same path and replace it with the new `ConnectedDevice`. Append only if no
match was found.

Closes #1377
2025-09-24 14:47:45 +02:00
Michael Aaron Murphy
2984cb0535
fix: search bar not dismissed on clear click
Fixes #1372
2025-09-24 14:31:35 +02:00
Michael Aaron Murphy
6274a66ae9 fix(time): icu locale requires hyphenated lang codes
The recent icu 2.0.0 update broke `icu::locale::Locale` parsing. Lang codes
containing underscores are no longer valid, so we need to hyphenate the lang
code before parsing it. I've added `replacen('_', "-", 1)` everywhere that an
`icu::locale::Locale` is parsed from a string.

To prevent the need to re-parse the locale on every view update, I've also
added `icu::locale::Locale`s for `LC_TIME` and `LC_NUMERIC` directly to
`region::Page` the moment the page is refreshed.

Closes #1384
2025-09-24 14:26:17 +02:00
Ashley Wulber
34ec1bc654 fix(shortcuts): ignore keyboard input when replace dialog is active 2025-09-24 07:42:17 -04:00
Michael Aaron Murphy
c4062500f9
chore(display): display ID should count from 1 2025-09-23 18:13:15 +02:00
Ashley Wulber
886220fc9f chore: cleanup deps 2025-09-19 09:22:59 -04:00
Ashley Wulber
689ccab9da chore(system shortcut): touchpad toggle 2025-09-19 09:22:59 -04:00
Ashley Wulber
857d5162c9 fix(input): more shortcut improvments 2025-09-17 21:40:12 -04:00
Ashley Wulber
a02bf88626 fix(input): better handling of keyboard focus and highlighting of shortcuts 2025-09-17 19:03:02 -04:00
Ashley Wulber
3fbb747c19 fix: set initial binding input and select all for input strings when focused 2025-09-17 13:52:58 +02:00
Ashley Wulber
95180b19e4 feat: shortcut key input 2025-09-16 01:00:26 +02:00
Vukašin Vojinović
ee34b79359 chore: add startup applications command and desktop entry 2025-09-15 15:58:13 +02:00
Vukašin Vojinović
29da0330aa chore: update dependencies 2025-09-12 17:33:40 -04:00
Vukašin Vojinović
2533b5542b refactor(time): update to icu 2.0.0 2025-09-12 17:33:40 -04:00
Vukašin Vojinović
0e5054a4c5 feat(sound): volume amplification
This adds toggles that allow increasing volume to 150% for both the sink and source.
2025-09-12 17:33:40 -04:00
Michael Aaron Murphy
90636ffbb9
fix(display): update cosmic-randr-shell for VRR arg display 2025-09-07 14:55:04 +02:00
Aurabindo Pillai
b2ee3a123c fix(font): remove intrusive filter for fonts
Some regular fonts that have slightly higher weights get filtered out
due to the filter used in the font loading function being a little too
intrusive.

Remove the condition for font weight to be regular so that all fonts
will be available to be set for the interface/mono fonts.

Others like KDE, Gnome do not filter out fonts with higher weights since
on the same system, other DEs allow the fonts to be selected. So
there is need for Cosmic DE to filter out these fonts.

Fixes: https://github.com/pop-os/cosmic-settings/issues/859
Signed-off-by: Aurabindo Pillai <mail@aurabindo.in>
2025-09-02 14:43:51 +02:00
Vukašin Vojinović
842e6f4bac improv(startup_apps): match designs
Adds an empty list item with text when there aren't any startup apps and replaces the heading with a modified description (removing the description).
2025-08-28 14:24:44 +02:00
Ashley Wulber
371e0b0762 fix(vpn): set data ciphers 2025-08-15 01:28:53 +02:00
Ashley Wulber
d928f3f4d5 fix(vpn): use to_file_path 2025-08-14 13:31:40 -06:00
Michael Aaron Murphy
6e67ff11e0
fix(appearance): use ContentFit::Contain to center modes 2025-08-13 22:09:59 +02:00
Michael Aaron Murphy
9afb4133cc
fix(appearance): use flex row for accent colors to avoid scrollable overdraw 2025-08-13 21:52:17 +02:00
Michael Aaron Murphy
43be7cb473
fix(appearance): excess padding in mode button selector 2025-08-13 21:44:25 +02:00
Michael Aaron Murphy
874b674a44
fix(appearance): use image buttons to get selection icons 2025-08-13 21:22:39 +02:00
Michael Aaron Murphy
927dd3a512
chore: fix lints 2025-08-13 12:29:28 +02:00
Michael Aaron Murphy
dfb31f13c1
improv(libcosmic): segmented button improvements 2025-08-13 12:29:18 +02:00
Michael Aaron Murphy
926c5c1175
fix(libcosmic): context drawer title text wrapping 2025-08-12 22:23:23 +02:00
Michael Aaron Murphy
4158c72b75
fix(appearance): theme desync causing configs not to be set 2025-08-12 21:48:37 +02:00
Michael Aaron Murphy
505d6e5711
fix(appearance): reload system theme after building themes 2025-08-12 20:19:32 +02:00
Michael Aaron Murphy
20fc48a8d7
fix(appearance): set color from pickers only when needed 2025-08-12 19:33:41 +02:00
Jonathan Capps
7f2443b2ba
feat: add launch command for panel and dock applet pages 2025-08-12 15:09:44 +02:00
voedipus
d4e68395cc
fix(keyboard): add missing keyboard shortcut to make it searchable 2025-08-08 17:12:27 +02:00