Ashley Wulber
0aed003d09
fix: tooltip destruction
2025-02-28 12:35:22 -05:00
Ashley Wulber
e69611752c
refactor: popup for tooltip
...
this conflicts with autopopup switching. Either I need to drop autopopup switching, disable tooltips if autopopup switching is enabled, or I need to change how autohopopup switching is implemented to use dbus or wayland protocols instead of simulating a click.
2025-02-28 12:35:14 -05:00
Ashley Wulber
f01a48ff72
refactor: better tooltips and helper methods for managing subsurfaces/popups
2025-02-28 12:35:06 -05:00
Ashley Wulber
63f249a395
refactor: remove SurfaceMessageHandler
2025-02-28 12:34:47 -05:00
Ashley Wulber
ad65f45f5b
refactor: SurfaceMessage
2025-02-28 12:33:15 -05:00
Ashley Wulber
04b51bc1ba
wip: menus
2025-02-28 12:33:14 -05:00
Ashley Wulber
b316d8901b
better surface messages
2025-02-28 12:33:12 -05:00
Ashley Wulber
681aed735b
wip: tooltips
2025-02-28 12:32:22 -05:00
Ashley Wulber
91459591ec
wip: subsurfaces
2025-02-28 12:31:15 -05:00
Michael Aaron Murphy
f59eb77252
perf: set static mmap threshold on gnu target env by default
2025-02-12 10:59:46 -07:00
Vukašin Vojinović
127ce17b85
improv: add window border
2024-11-05 10:02:19 +01:00
Ashley Wulber
d84447aaad
fix: apply App::Executor to multi-window instance
2024-10-29 13:32:08 -06:00
Ashley Wulber
07763aca8e
refactor: allow resetting main window id to None
2024-10-21 17:33:10 -06:00
Ashley Wulber
cf3ba4ca07
refactor: allow resetting the main window id
2024-10-21 17:37:51 -04:00
Ashley Wulber
6f5d096be2
fix: docs
2024-10-21 08:58:34 -06:00
Ashley Wulber
0491c4baaa
libcosmic updates
2024-10-18 14:04:39 -04:00
Michael Aaron Murphy
9e064e7fa0
feat: configurable fonts
2024-10-05 01:47:37 +02:00
Michael Aaron Murphy
f12de010ec
fix!(widget): rename button function to button::custom
2024-09-16 11:36:42 -06:00
Victoria Brekenfeld
b40839638a
fix: Use globals instead of thread-locals
...
Better support for multi-threaded applications,
especially cosmic-comp rendering in parallel on
multiple threads, each potentially accessing
global configurations such as the active theme,
icon_theme and more...
2024-08-02 20:27:08 +02:00
Ashley Wulber
d35cc71b90
feat(applets): add overflow support
2024-07-16 17:15:22 +02:00
Michael Aaron Murphy
ce4580ab0b
fix(applet): set default text size to 14.0
2024-06-06 22:47:27 +02:00
Michael Aaron Murphy
aa3f5d3401
improv: impl From<M> for Message<M>
2024-05-21 01:29:50 +02:00
Ashley Wulber
107eeb5f1f
fix: shrink applet text
2024-05-17 20:58:56 +02:00
Michael Aaron Murphy
1355588723
improv(button): specialize button for cosmic, and apply alpha to header buttons
2024-05-17 20:58:38 +02:00
Ashley Wulber
54eb5487b4
fix(applet): remove text color style
2024-05-15 16:19:32 -04:00
Ashley Wulber
be329403c1
cleanup(applet): replace todo for text size
2024-05-15 16:19:32 -04:00
Ashley Wulber
9677b74b89
feat(applet): scale text based on panel setting
2024-05-15 16:19:32 -04:00
Ashley Wulber
9292004642
feat: allow preference for dark or light system theme
...
also converts applet to use preferred system theme
2024-05-14 07:36:08 -04:00
Ashley Wulber
23f6fc8358
fix(applet): set the svg style to default if the icon is not symbolic
2024-05-06 19:07:22 -04:00
Ryan Brue
fec71fdda4
feat(applet): impl ToString for PanelType
2024-05-06 15:29:35 -06:00
Ryan Brue
e9aa969e61
feat(applet): add panel type attribute to applet context
...
This will allow applets to know whether they are on a Panel, Dock, or other named panel.
2024-05-06 17:02:32 -04:00
Ashley Wulber
d54af65a2a
refactor: update applet icon sizes
2024-04-15 18:29:57 -04:00
Ian Douglas Scott
61a14a953d
applet: Add icon_button_from_handle ( #368 )
...
`StatusNotifierItem` can use either named icons, or pixmap data. So to
support the latter, it needs a way to show a non-named icon with the
same button styling as any other planel applet icon.
The `StatusNotifierItem` protocol actually supports sending different
icons with different sizes, so ideally we'd want a `icon::Data` variant
that contains multiple sizes? But just using the largest and scaling
works for now.
2024-03-27 09:10:41 -07:00
Ashley Wulber
ef050d5b05
chore: update applet icon size and padding
2024-03-08 17:50:01 -05:00
Ashley Wulber
fda17c9d97
fix: update applet button type
2024-02-06 11:28:27 -05:00
Ashley Wulber
f4ad098647
wip: update to use latest iced
2024-02-06 11:28:27 -05:00
Ashley Wulber
06c33dcf06
refactor: optional config subscriptions using dbus
2024-01-02 15:12:14 +01:00
Ashley Wulber
310064ca1d
refactor: use theme corner radii everywhere
...
not all values matched a default value but I picked the next closest in that case
2023-12-13 13:10:39 -05:00
Ashley Wulber
2b9e0c09ee
fix: applet updates
2023-12-08 12:02:21 -05:00
Ashley Wulber
7d0ba4dba9
fix: applets feature
2023-12-04 17:53:24 -05:00
Ashley Wulber
ef5b6fb44a
feat: add helpers for getting and using activation tokens in applets
...
refactor(applet): connect to privileged socket if available
cleanup
2023-11-17 19:29:11 -05:00
Ashley Wulber
405aaf134d
fix(applet): set the theme to be the system preference if it is not light or dark
2023-11-13 12:15:15 +01:00
Ashley Wulber
33412998c7
refactor(applet): add padded control
2023-10-24 16:52:18 +02:00
Ashley Wulber
a2bda49152
refactor: add applet button variants and a menu_button helper
2023-10-19 15:10:32 -04:00
Ashley Wulber
589b661752
fix(applet): applet popups should have a 1px border
2023-10-19 10:21:38 -04:00
Ashley Wulber
9ddadd330f
fix: applet button styles
2023-10-02 10:59:27 -04:00
Ashley Wulber
5454a01461
fix(applet): use text button style
2023-09-18 19:48:27 +02:00
Eduardo Flores
453cc6588e
fix(applet): styling improvements
2023-09-18 10:37:57 +02:00
Michael Aaron Murphy
8f7b400143
refactor(applet): move applet module to crate root
2023-09-18 07:45:11 +02:00
Ashley Wulber
ce713d9da7
refactor: move applet helpers to cosmic-applets repo
2023-05-31 10:33:46 -04:00