Commit graph

74 commits

Author SHA1 Message Date
Vukašin Vojinović
4224929098 chore(notifications): improve icon fetching 2025-09-10 17:23:35 +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
2d54688a73 fix: exit the notifications applet if the daemon is unavailable 2025-05-29 18:41:39 +02:00
Ian Douglas Scott
417f43a0f5 Update to zbus 5.x 2025-05-28 13:40:23 -04: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
Ashley Wulber
ad656296e7 feat: notification actions 2024-12-12 16:44:39 +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
Vukašin Vojinović
d657b1941a fix: use text::body 2024-09-03 16:52:59 +02:00
Vukašin Vojinović
02b3fbdb11 fix: use cosmic::widget::text instead of cosmic::iced::widget::text 2024-09-03 16:52:59 +02:00
Vukašin Vojinović
e61de72c9c update libcosmic
Also fixes the padding of some things to better match designs.
2024-08-15 10:18:19 +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
git-f0x
ca0e99268c chore(notifications): update strings 2024-07-18 11:00:47 -04:00
Vukašin Vojinović
0640e88412 chore: merge imports 2024-07-09 16:26:27 +02:00
Ashley Wulber
87250b5e50 zbus update 2024-05-18 01:38:41 +02:00
Michael Aaron Murphy
8527257ddd chore: add SPDX license identifiers 2024-05-06 21:56:50 +02:00
Ashley Wulber
06d81111e7 fix(notifications): remove settings button 2024-05-06 06:51:45 -06:00
Ashley Wulber
9f51e12fc9 fix: reset timeline when a popup is created 2024-04-30 20:14:46 -04:00
Michael Aaron Murphy
3c4acdacd7 refactor: compile applets as multicall binary 2024-03-14 23:37:37 +01:00
Ashley Wulber
004d627b71 feat(notifications): add clear all button to notifications 2024-03-06 13:33:04 -05:00
Ashley Wulber
d17894f94e chore: clippy 2024-02-20 10:55:08 -05:00
Ashley Wulber
f8a6fd7ab6 update: notifications dependencies 2024-01-22 10:11:44 -05:00
Ashley Wulber
6875bb38c0 fix(notifications): only connect to notifications daemon once 2024-01-18 23:16:17 -05:00
Ashley Wulber
d4e0dd8fb8 fix: make all subscriptions resistant to being restarted
many of the errors we've been seeing the last few days are because of subscriptions which are restarting
2024-01-18 23:16:17 -05:00
Ashley Wulber
6851d9de54 fix: logging and use dbus config subscription in audio applet 2024-01-18 23:16:17 -05:00
Ashley Wulber
e5db5ab1dd
chore: update libcosmic (#168) 2023-12-11 14:45:36 -05:00
Ashley Wulber
b7b7b9541e chore: open notification settings when the button is pressed 2023-11-22 08:03:54 -05:00
Ashley Wulber
9974b2f99f fix: log fewer error messages from notifications subscription 2023-11-19 06:28:16 -08:00
daniel.eades
b9723dd5e0 use 'Self' to refer to own type 2023-11-16 15:47:20 -05:00
daniel.eades
c085758d20 remove useless 'format' calls 2023-11-16 15:47:20 -05:00
daniel.eades
12ef9ce993 remove useless conversions 2023-11-16 15:47:20 -05:00
Ashley Wulber
12ac3e7e2f fix(notifications): text size adjustments and spacing 2023-10-25 16:27:00 -04:00
Ashley Wulber
3f0f632d41 fix: padding for notifications 2023-10-24 15:34:21 -04:00
Ashley Wulber
3338cb74b6 refactor: styling improvements 2023-10-24 15:34:21 -04:00
Ashley Wulber
d80a801fe5 refactor: use menu button 2023-10-24 15:34:21 -04:00
Eduardo Flores
276ecc7d6c Switch back to libcosmic upstream 2023-10-11 19:46:07 -04:00
Eduardo Flores
c7b25daa71 Update libcosmic 2023-10-11 19:46:07 -04:00
Ashley Wulber
56d96e5282 fix: clear popup state when it is dismissed by the compositor 2023-09-12 16:27:25 -04:00
Ian Douglas Scott
a23f181b7f Use cosmic::Application/cosmic::app::applet
This saves a bit of duplicated boilerplate.

Applets seem to work fairly well with this. Though we should see if any
other changes to initial window settings are needed in certain applets
for the exact behavior we want.
2023-08-23 10:24:56 -07:00
Ashley Wulber
3ad64df5f3
Refactor icons jammy (#108)
* chore: add icons and installation

* refactor: use the new battery icons

* refactor: use audio applet icons

* chore dependency cleanup

* chore: remove icons included in cosmic-icons package

* refactor: use icons for signal strength and fix handling of new connections

* fix: improve some logic for the networking applet

* chore: add cosmic-icons to Depends

* feat: use notifications icons

* chore: set bluetooth icon depending on state

* fix: set default font and text size

* feat (network): add airplane-mode message

* feat (battery): add display icons to the battery applet

* fix (battery): logic for selecting the battery icon & use new battery icons
2023-08-08 16:18:12 -04:00
Ashley Wulber
c77265eaed feat(notifications): add icon to show less button 2023-08-03 12:33:09 -04:00
Ashley Wulber
7073d8fc22 fix: add no notifications message to fluent 2023-08-03 12:33:09 -04:00
Ashley Wulber
0476ddd00b fix: remove card stacks that don't have any cards 2023-08-03 12:33:09 -04:00