Commit graph

34 commits

Author SHA1 Message Date
Ian Douglas Scott
d86c5631ed input-sources: Do not store full CosmicCompConfig
`update_xkb()` was previously never called before the subscription first
returns a config value, so not getting an initial value of `comp_config`
at start before the subscription does not change behavior.
2026-07-13 13:18:56 -07:00
Ian Douglas Scott
9acfd8d8c1 input-sources: Use cosmic-keyboard-layout-unstable-v1
https://github.com/pop-os/cosmic-protocols/pull/28

Continues to use `xkg_config` to get list of layouts, but the group is
now changed by modifying the group while leaving the config unchanged.
And changes to the group are now reflected in the applet.
2026-07-13 13:18:56 -07:00
Ashley Wulber
f0ca9e7aee chore: update libcosmic 2026-06-30 13:17:39 -04:00
Ashley Wulber
405fddda2d wip: blur 2026-06-30 13:17:37 -04:00
Ashley Wulber
e125ae0b58 update libcosmic after reexports are removed 2026-04-16 15:27:25 -06:00
Ashley Wulber
71d9d6d5bb
chore: updates after iced-rebase 2026-03-31 22:34:59 +02:00
Aliaksandr Trush
3d41a35168
feat(input-sources): Add variant data to applet (#1162)
Co-authored-by: Levi Portenier <levi@system76.com>
2026-01-26 08:58:10 -07:00
Ashley Wulber
836c0e378b applet overlap
chore: mpris dep

fix: dock buttons

improv: battery and audio improvements

feat: overlapping padding

fix: input source text button

fix: apply panel spacing to app tray

chore: update libcosmic

fix: spacing and padding

fix(minimize): hide when empty
2025-11-11 16:49:48 -05:00
Cheong Lau
dd0158d8f0 perf: refactor to reduce memory allocations and cpu work 2025-10-07 17:04:51 +02:00
Cheong Lau
8e0f1c4a09
chore: apply recommendations from clippy 2025-10-04 02:51:18 +02:00
Vukašin Vojinović
2b7b4cba56 chore: update to Rust 2024 edition 2025-08-18 16:44:50 +02:00
Vukašin Vojinović
c3fafd3910 chore: use std::sync::LazyLock
Removes `once_cell` as a direct dependency.
2025-08-18 16:44:50 +02:00
Ashley Wulber
619550cf61 fix: handling of surface action 2025-03-18 08:13:03 -04:00
Ashley Wulber
c54ddeb38a chore: udpate libcosmic 2025-03-14 14:26:42 -04:00
Ashley Wulber
61d1d1b91d fix: use fixed window width for all applets 2025-03-14 14:26:42 -04:00
Ashley Wulber
a2c4268eb9 cargo fmt 2025-03-14 14:26:42 -04:00
Ashley Wulber
0de336d0d7 update libcosmic: adds tooltip support 2025-03-14 14:26:42 -04:00
Michael Aaron Murphy
edcf29df9e
fix(input-sources): duplicating input sources 2025-01-08 12:17:35 +01:00
Josh Megnauth
a9f9620d11 fix(inputs): Use env vars and extra layouts
Closes: #725

The inputs applet uses an outdated `xkb-data` which causes some configs
to fail which in turn leads to an empty list.

See: https://github.com/lilyinstarlight/nixos-cosmic/issues/74#issuecomment-2353273156
2024-12-31 14:12:47 +01:00
Vukašin Vojinović
6b740c59be fix(app-list): use context menu radius from theme 2024-11-04 08:47:36 -05:00
Ashley Wulber
5b5cd77e7c update iced 2024-10-31 17:52:33 -04:00
Vukašin Vojinović
941cbf546b
fix: padding, spacing, context menu style, and settings buttons 2024-09-24 15:52:17 +02:00
lazytanuki
e51ca81f7d
feat: toggle popups on press down 2024-08-13 19:03:34 +02:00
Ian Douglas Scott
293a91e8b1 Update for spawn_desktop_exec that calls SpawnTransientUnit
Allows `xdg-desktop-portal` to get app id from PID.

Also updates calls to `cosmic::process::spawn` to spawn in future.
2024-07-28 20:25:23 -07:00
Vukašin Vojinović
0640e88412 chore: merge imports 2024-07-09 16:26:27 +02:00
Michael Aaron Murphy
46a77ee121
fix(input-sources): padding hides text with small panel
Closes #485
2024-06-07 08:52:29 +02:00
Ashley Wulber
c6dd730d78 fix(input sources): button size 2024-05-22 17:08:41 +02:00
Ashley Wulber
37a60b7759
fix(input-sources): text size 2024-05-18 02:01:40 +02:00
Ashley Wulber
e57a832b2f fix(input-sources): remove extra divider and button 2024-05-15 14:56:45 +02:00
Michael Aaron Murphy
f789038c3f fix(input-sources): use standard typography 2024-05-06 21:56:50 +02:00
Michael Aaron Murphy
8527257ddd chore: add SPDX license identifiers 2024-05-06 21:56:50 +02:00
Michael Aaron Murphy
b9308af4b7 improv(input-sources): gracefully exit if keyboard layouts data could not be obtained 2024-05-06 21:56:50 +02:00
Michael Aaron Murphy
33cb23f04f fix(input-sources): suggested_padding takes bool for symbolic icon check 2024-05-06 21:56:50 +02:00
Dominic Gerhauser
a1ad3c5f87 feat: add input sources applet 2024-05-06 21:56:50 +02:00