Commit graph

355 commits

Author SHA1 Message Date
Ashley Wulber
6630709970 chore: update libcosmic
enable desktop-systemd-scope
2024-10-16 18:59:22 -06:00
Vukašin Vojinović
941cbf546b
fix: padding, spacing, context menu style, and settings buttons 2024-09-24 15:52:17 +02:00
wiiznokes
b449d0668b
feat: add cosmic-panel-button to multicall binary 2024-09-09 19:08:21 +02:00
wiiznokes
adc2c7e871
chore: update freedesktop-desktop-entry to 0.7.5 2024-09-09 14:34:36 +02:00
Ashley Wulber
386e8681dd fix: zombie processes 2024-08-22 11:36:12 -06:00
Josh Megnauth
323e8a55b2 fix(time): Update applet timezone on change
Closes: #582

The chrono crate caches the local timezone but doesn't update it. This
makes sense because it'd be inefficient to constantly evaluate the local
timezone.

Instead of using the local timezone, this patch changes the applet to
use a fixed offset internally which is updated if the external timezone
changes.
2024-08-17 13:24:19 +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
Ashley Wulber
02b1743a62 chore: update cosmic-text to 0.12.1 2024-08-01 18:43:37 +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
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