Ashley Wulber
d01ac41d12
fix(power): remove mouse area from modal
2024-12-12 20:17:31 -05:00
Ashley Wulber
1e99f2c476
fix: update libcosmic
...
should fix memory leak and high CPU in certain situations with autosize popups
2024-11-19 13:56:21 -07: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ć
02b3fbdb11
fix: use cosmic::widget::text instead of cosmic::iced::widget::text
2024-09-03 16:52:59 +02:00
Vukašin Vojinović
ee6f3fc99d
fix(power): use correct restart icon
2024-08-15 17:52:38 +02:00
lazytanuki
e51ca81f7d
feat: toggle popups on press down
2024-08-13 19:03:34 +02:00
Vukašin Vojinović
cfaab9b0dc
fix(power): use text button for restart in power off dialog
2024-08-02 16:14:20 -04:00
Hans Gaiser
d10bc475b7
fix(power): lock only User sessions
2024-07-29 10:44:04 -04:00
Ian Douglas Scott
b0e4e6fc6d
Remove unused imports
2024-07-28 20:25:23 -07:00
Ashley Wulber
0571c97b86
wip: overflow
2024-07-24 08:51:46 -04:00
Ashley Wulber
62eeb5a704
wip: overflow
2024-07-24 08:51:46 -04:00
Vukašin Vojinović
0640e88412
chore: merge imports
2024-07-09 16:26:27 +02:00
Ashley Wulber
37a60b7759
fix(input-sources): text size
2024-05-18 02:01:40 +02:00
Ashley Wulber
87250b5e50
zbus update
2024-05-18 01:38:41 +02:00
Ashley Wulber
6ede0fbe05
fix(power): when restarting from the shutdown confirmation, skip the dialog
2024-05-16 21:02:09 -04:00
Michael Aaron Murphy
8527257ddd
chore: add SPDX license identifiers
2024-05-06 21:56:50 +02:00
Ashley Wulber
1abc466f49
fix(power): dialog button spacing
2024-05-06 21:56:27 +02:00
Ashley Wulber
ba9100ec9d
refactor(power): use built in dialog widget
2024-05-06 21:56:27 +02:00
Ethan Brierley
d097cb1c94
feat(power): only ask for user confirmation on destructive actions
2024-04-22 09:48:36 -04:00
Ethan Brierley
257250eb62
refactor(power): extract performing power actions into its own method
2024-04-22 09:48:36 -04:00
Michael Aaron Murphy
132ea0de3c
chore(cargo): replace nix with rustix
2024-03-25 15:33:23 -06:00
Michael Aaron Murphy
3c4acdacd7
refactor: compile applets as multicall binary
2024-03-14 23:37:37 +01:00
Ashley Wulber
f00fd8bc1a
chore: update fixes
2024-02-06 16:21:16 -05:00
Ashley Wulber
0ab6f724fb
chore: update libcosmic
2024-02-06 16:21:16 -05:00
Ashley Wulber
e5db5ab1dd
chore: update libcosmic ( #168 )
2023-12-11 14:45:36 -05:00
Ian Douglas Scott
0e84d0f3cb
Update libcosmic/iced
2023-12-05 15:32:18 -05:00
daniel.eades
b9723dd5e0
use 'Self' to refer to own type
2023-11-16 15:47:20 -05:00
daniel.eades
94f9879a39
remove needless return statements
2023-11-16 15:47:20 -05:00
W
b595236c6b
Fix suspend icon in cosmic-applet-power
2023-11-09 10:39:35 -05:00
PixelDoted
2c9470bdd7
only countdown when there's a confirm popup
...
Co-authored-by: Ashley Wulber <48420062+wash2@users.noreply.github.com>
2023-11-01 10:39:37 -04:00
PixelDots
2882286de6
Add countdown
2023-11-01 10:39:37 -04:00
Ashley Wulber
4c40374014
refactor(power): assume the session is Cosmic if a special case is not detected
2023-10-31 11:40:23 -04:00
Ashley Wulber
a406ec9bf0
fix(power): alignment in the lock & logout buttons
2023-10-25 16:27:00 -04:00
Ashley Wulber
85d96f39f0
fix(power): remove extra spacing from column
2023-10-25 16:27:00 -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
Ashley Wulber
2a99ad959a
fix: styling
2023-10-11 19:46:07 -04:00
Eduardo Flores
486eff3eb3
Apply suggestions
2023-10-11 19:46:07 -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
Ian Douglas Scott
f4cc4cecd0
Fix re-opening popup after it is dismissed by the compositor
...
I noticed working on https://github.com/pop-os/cosmic-applets/pull/33
that https://github.com/pop-os/cosmic-applets/pull/110 seems to have
broken the behavior here. After the popup is dismissed by the
compositor, it requires two clicks to re-open instead of one.
This change will need to be made to all the applets.
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
76bf6a4519
feat: theme management
2023-06-21 20:49:35 -04:00
Ashley Wulber
9ebd9b511a
wip: update libcosmic ( #93 )
...
* wip: update libcosmic
* fix: damge issue resolved by updating iced
* fix: high cpu usage by time applet and app-list
* refactor subscriptions to produce fewer events
* refactor network applet to use less cpu
* fix: text size
* refactor: i18n for audio applet
* refactor: power applet i18n setup
* fix (battery): always send profile update
* fix (battery): set toggler width to layout correctly
* fix (app-list): backoff for restarts of toplevel subscription
* fix (network): alignment
* feat: ask for comfirmation before applying power applet actions
* wip: integrate cosmic-config
* update zbus
* feat: update to use latest libcosmic
* update iced
* udpate deps
* update deps
* refactor: move applet helpers to this repo, outside of libcosmic.
this should help alleviate some dependency hell
* chore update deps
* update deps
* cleanup
2023-06-01 12:23:12 -04:00
Ashley Wulber
903a5589a3
update libcosmic
2023-04-06 15:12:49 -04:00
Ian Douglas Scott
6d7727a5d0
Update sctk, libcosmic, cosmic-client-toolkit
2023-03-02 14:06:52 -05:00
Ashley Wulber
b692cdcc05
chore: use latest libcosmic
2023-02-02 23:47:33 -05:00
Ian Douglas Scott
72a75eabc7
Use cosmic::SingleThreadExecutor
...
This cuts down the number of threads per applet process. This is probably
no benefit to having multiple tokio worker threads for a typical applet.
2023-01-19 10:06:39 -05:00