Commit graph

26 commits

Author SHA1 Message Date
Ashley Wulber
d654743234 fix: format of month can overflow bounds of panel if Long 2024-08-01 19:05:40 +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
wiiznokes
406cab9a91
Time applet localization v2 (#455) 2024-05-24 23:16:25 -04:00
Ashley Wulber
37a60b7759
fix(input-sources): text size 2024-05-18 02:01:40 +02:00
Ashley Wulber
afff0793aa feat: applet text scaling based on panel size 2024-05-16 18:41:47 +02:00
Michael Aaron Murphy
8527257ddd chore: add SPDX license identifiers 2024-05-06 21:56:50 +02:00
Ashley Wulber
8bf340aa8e chore: update applet icon sizes 2024-04-15 23:46:48 -04:00
Lyu Ji
32b7012b79
feat(time): implement date selection 2024-04-04 13:53:33 +02:00
maciekk64
52aa97945b feat(time): first_day_of_week config 2024-04-02 23:29:00 +02:00
maciekk64
51eed6ec12 feat(time): military_time and show_date_in_top_panel config 2024-04-02 23:29:00 +02:00
Ashley Wulber
71cb9e64ec fix: better button sizing so there are no gaps 2024-03-28 19:54:24 -04:00
Michael Aaron Murphy
3c4acdacd7 refactor: compile applets as multicall binary 2024-03-14 23:37:37 +01:00
Ian Douglas Scott
fee7eefe5b
time: Calculate period to wait on each iteration (#237)
Computing the delay only once won't work; it has to be be done each time
to stay properly in sync.

The time widget should now reliably update at the minute.

Co-authored-by: Michael Murphy <michael@mmurphy.dev>
2024-02-27 13:51:42 -08:00
Lyu Ji
5be328f8ad
feat(time): implement prev/next month 2024-02-26 19:24:07 +01:00
Ashley Wulber
f00fd8bc1a chore: update fixes 2024-02-06 16:21:16 -05:00
Ashley Wulber
e5db5ab1dd
chore: update libcosmic (#168) 2023-12-11 14:45:36 -05:00
Ashley Wulber
f5c51ecc92 chore: open settings when time settings is pressed 2023-11-22 08:03:54 -05:00
daniel.eades
b9723dd5e0 use 'Self' to refer to own type 2023-11-16 15:47:20 -05:00
daniel.eades
6ae90bd94f use char as split pattern 2023-11-16 15:47:20 -05:00
Ashley Wulber
1c8e610b09 fix(time): use ignore_bounds so that the layout of the time text is not affected by the previous layout 2023-10-30 16:22:41 -04:00
PixelDots
74998b5b16 remove comments of old styling 2023-10-24 18:40:53 -04:00
PixelDots
2efc93a38c update styling 2023-10-24 18:40:53 -04:00
PixelDots
e5f135a76e use chrono for day of week labels
move `window::get_sunday` to `time::get_calender_first`
2023-10-24 18:40:53 -04:00
PixelDots
ee73884b07 remove events text
cleanup calender week of day labels
Use `Next` and `Previous` icons
2023-10-24 18:40:53 -04:00
PixelDots
57b2c71804 Time Applet Window design implementation 2023-10-24 18:40:53 -04:00