Commit graph

246 commits

Author SHA1 Message Date
Ashley Wulber
481573ec27 refactor: make app-tray config its own crate 2024-07-24 08:51:46 -04:00
Ashley Wulber
8870851f81 cleanup 2024-07-24 08:51:46 -04:00
Ashley Wulber
eaeee04f1e update deps 2024-07-24 08:51:46 -04:00
Ashley Wulber
f46f50e8e2 feat: app tray overflow menus 2024-07-24 08:51:46 -04:00
Ashley Wulber
0571c97b86 wip: overflow 2024-07-24 08:51:46 -04:00
Ian Douglas Scott
61a9102fce battery: Exit on NoBattery instead of letting subscription handle it 2024-07-01 20:07:39 -07:00
Ian Douglas Scott
0ef2393288 battery: Use max_kbd_brightness as slider range
This makes sure we can listen to brightness subscription and set the
brightness without conflicts or weird workarounds.
2024-07-01 20:07:39 -07:00
Ian Douglas Scott
4b83609ee8 battery: Use settings_daemon for display brightness
This shares a subscription with cosmic-osd, avoiding some duplication.
It's also important that things like selection of the display brightness
device are done consistency, and handling this in cosmic-settings-daemon
is one way to ensure consistency.
2024-07-01 20:07:39 -07:00
Ian Douglas Scott
78b734afc2 audio: Use volume subscription to detect changes
Fixes https://github.com/pop-os/cosmic-applets/issues/301.

Should be combined with the subscription code here to avoid duplication,
and two things using pulse.
2024-07-01 20:07:39 -07:00
Ian Douglas Scott
901a70d7a1 battery: Use cosmic-settings-subscriptions for upower subscriptions
These should be useful in `cosmic-osd` as well.
2024-07-01 20:07:39 -07:00
Ian Douglas Scott
4e3eb0a396 battery: Use upower_dbus instead of including bindings here 2024-07-01 20:07:39 -07:00
Ashley Wulber
d1a6e089b4
fix: allow network resets
also updates libcosmic and cosmic-protocolss, and adds clipboard support to the network applet
2024-06-13 19:45:37 -04:00
Michael Aaron Murphy
91786f50a3
fix: unset VK_LOADER_DRIVERS_DISABLE after enumeration
Allows applications to be launched on the NVIDIA GPU with Vulkan support
2024-06-11 12:14:26 +02:00
wiiznokes
4d48047c4a
fix: missing icon for Firefox, and un-pinnable Chrome 2024-06-09 09:49:03 +02:00
Michael Aaron Murphy
8ba8ccd6c0
improv: context menu and window preview styling
Closes #480
Closes #481
2024-06-07 00:06:12 +02:00
wiiznokes
68fd2a6c17
fix: update freedesktop-desktop-entry and fix app-list icons 2024-06-06 22:11:40 +02:00
wiiznokes
406cab9a91
Time applet localization v2 (#455) 2024-05-24 23:16:25 -04:00
Ashley Wulber
5b2bc8eac1 refactor: activate panel-button applet on press down 2024-05-21 02:44:43 +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
afff0793aa feat: applet text scaling based on panel size 2024-05-16 18:41:47 +02:00
Ashley Wulber
bfdf378a43 update-libcosmic
update makes applets use the system light or dark theme when the panel is configured for it.
2024-05-14 10:36:17 -04:00
Ashley Wulber
b3440c5834 feat: auto-switch popup for status-area 2024-05-09 16:01:01 +02:00
Ryan Brue
c2e7fddc7e chore: bump libcosmic and update panel button...
... to use colored icons
2024-05-06 22:35:53 -04:00
Ryan Brue
5d4ef77367 feat(panel-button): add applet config
This PR adds an optional environment variable to the cosmic-panel-button that allows us to specify how a panel button should present itself (either as 'icon' or as 'text').

The PR also adds the same tracing log that the other applets have, with an initial message notifying that the applet has started.
2024-05-06 22:35:53 -04:00
Ryan Brue
40509c669f chore: bump libcosmic 2024-05-06 22:35:53 -04:00
Dominic Gerhauser
a1ad3c5f87 feat: add input sources applet 2024-05-06 21:56:50 +02:00
Ashley Wulber
eeacd2c06a fix: bluetooth missing button and extra divider 2024-05-06 06:52:06 -06:00
Ashley Wulber
7b411c3510 chore: update libcosmic 2024-04-28 20:27:54 -04:00
Ashley Wulber
8bf340aa8e chore: update applet icon sizes 2024-04-15 23:46:48 -04:00
Ryan Brue
a4b0d2de4e workspaces: click active workspace to open overview 2024-04-09 15:26:58 -06:00
Ian Douglas Scott
1475f8f32b audio: Don't recreate mpris proxies and streams
Fixes https://github.com/pop-os/cosmic-applets/issues/306 and should
overall be more correct and performant.
2024-04-04 13:25:16 +02:00
Ryan Brue
0629b18e00 feat: app list click: two or more toplevel behavior 2024-04-01 19:09:17 -04:00
Ian Douglas Scott
180e75cb9a
status-area: Show icons that have icon_pixmap but not icon_name (#302)
This is at least one of the issue behind
https://github.com/pop-os/cosmic-applets/issues/165. OBS now shows it's
icon instead of an empty space. But the Mattermost flatpak doesn't show
anything. (Is that Flatpak related, or does it not use
`StatusNotifierItem`?)

Requires https://github.com/pop-os/libcosmic/pull/368. Ideally, it
should have some way to choose from multiple icons in memory of
different sizes.
2024-03-27 13:33:37 -07:00
Ian Douglas Scott
8128b6cf89
cosmic-screencopy-v2 (#288) 2024-03-25 15:33:34 -06:00
Ashley Wulber
4510e81f6f
fix: better handling of request results in the network applet 2024-03-25 15:33:30 -06:00
Michael Aaron Murphy
00eef45c70
chore(cargo): update image crate and unset default features 2024-03-25 15:33:26 -06:00
Michael Aaron Murphy
ca8c674014
chore(cargo): remove unused dependencies 2024-03-25 15:33:23 -06:00
Michael Aaron Murphy
132ea0de3c
chore(cargo): replace nix with rustix 2024-03-25 15:33:23 -06:00
Michael Aaron Murphy
32229c16f0
chore(cargo): replace log dependency with tracing 2024-03-25 15:33:22 -06:00
Michael Aaron Murphy
074d962ae9 chore(cargo): remove unused icon-loader dependency 2024-03-15 16:21:29 +01:00
Michael Aaron Murphy
e0632b8c6f chore(cargo): upgrade dependencies across workspace 2024-03-14 23:37:37 +01:00
Michael Aaron Murphy
3c4acdacd7 refactor: compile applets as multicall binary 2024-03-14 23:37:37 +01:00
Ryan Brue
b46c4ca110 chore: bump libcosmic 2024-03-12 09:55:35 -04:00
Ashley Wulber
ed049b1269 chore: update libcosmic 2024-03-11 22:16:15 -04:00
Ashley Wulber
13dedfc3c7 chore: update libcosmic
updates applet sizes
2024-03-09 07:34:39 -07:00
Ashley Wulber
4bef8171d5 chore: update libcosmic 2024-03-05 14:50:12 -05:00
Ashley Wulber
090bb9653f
minimize applet (#217)
* chore: add minimize applet skeleton

* fix(minimize): desktop typo

* wip: minimize applet

* feat: include window images, and overlay their icon

* cleanup

* fix: add minimize applet to workspace

* chore: add host wayland display to desktop file for minimize applet

* chore: Cargo.lock

* cleanup: fix typos

* fix: don't hide minimized apps in app-list
2024-03-04 13:08:52 -05: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
Ashley Wulber
43de23e94a fix: disable wgpu feature for tiling applet
this seems to resolve recent performance issues for the panel
2024-02-27 06:49:55 -07:00