Ian Douglas Scott
08a334fc13
audio: Don't use linear volume ( #348 )
...
Fixes https://github.com/pop-os/cosmic-applets/issues/335 .
This calculates volume as a percentage of `Volume::NORMAL`, which seems
to be the correct way to display PulseAudio volumes to the user. This
matches `cosmic-osd`, and seems to match alsamixer.
2024-04-15 17:23:55 -07:00
Ryan Brue
631e59276e
fix: fixes when rebasing
2024-04-09 18:15:14 -04:00
Ryan Brue
27324f34e2
feat/fix: track output state in app-list
2024-04-09 18:15:14 -04:00
Ryan Brue
3c74e433dd
app-list: modify more sizing variables based on panel size
2024-04-09 18:15:14 -04:00
Ryan Brue
9922dfa0db
design: add focus hint color (selected state) to app-list buttons
2024-04-09 18:15:14 -04:00
Ryan Brue
a4b0d2de4e
workspaces: click active workspace to open overview
2024-04-09 15:26:58 -06:00
Ian Douglas Scott
216d88e977
audio: Mpris media control fixes
...
The panel buttons for next/previous didn't do anything since `on_press`
wasn't set. Now they work.
Fixed `autosize` which I had accidentally committed after using it for
testing. (It would be good to figure out why the applets don't work
properly with autosize when run outside of the panel, since that's handy
for testing.)
I noticed with VLC, skipping a track makes the media controls disappear
very briefly, and sometimes the pause button didn't return. I guess
`can_play` (etc.) are temporarily set to false, probably expecting the
controls to be greyed out and not hidden from a panel. Anyway,
monitoring for changes to these properties as well will hopefully fix
the part where it could remain missing. Though I can't reproduce that
consistently.
2024-04-05 16:31:01 -06:00
Lyu Ji
32b7012b79
feat(time): implement date selection
2024-04-04 13:53:33 +02:00
Ryan Brue
3e80dcdca8
feat(app-list): middle click app button to launch new window
2024-04-04 13:51:21 +02: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
Ian Douglas Scott
56d3a754e2
status-area: Support vertical panel
2024-04-04 13:25:16 +02:00
Ian Douglas Scott
fba8596759
audio: Use correct icons for volume levels
...
These seem to match Gnome. "Overamplified" is a volume above 100%, which
can be set in `pavucontrol`.
2024-04-04 13:25:16 +02:00
Ian Douglas Scott
fbd1489c7b
audio: Set source/sink mute state
...
Setting the volume to a non-zero value will unmute the source or sink,
and setting it to zero will mute it. This matches the behavior on Gnome.
2024-04-04 13:25:16 +02:00
Ryan Brue
1e5af14bc4
fix: clippy lints
2024-04-03 20:12:45 -04:00
Ryan Brue
7aead1ce47
fix: don't take screencopy on every new toplevel
2024-04-03 20:12:45 -04:00
Michael Aaron Murphy
ed335b256a
chore: migrate volume change sound to cosmic-osd
2024-04-02 23:29:17 +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
Grooble
22d7501aee
i18n(fr): Update translations
2024-04-02 23:27:48 +02:00
Ryan Brue
7592a3144f
feat: Set focused window as selected
2024-04-02 23:25:12 +02:00
Ryan Brue
769af3d944
improv(app-list): only send screencopy requests as needed
2024-04-02 23:24:18 +02:00
Ryan Brue
2f1b20e1c7
design: vertical app-list multi-window pop-up
2024-04-01 19:09:17 -04:00
Ryan Brue
e12c91b2cb
fix: design of multi-window menu should have corner radii
2024-04-01 19:09:17 -04:00
Ryan Brue
63c2bcc99b
fix: increase character allowance for window preview title
2024-04-01 19:09:17 -04:00
Ryan Brue
a4842f0cf9
fix: Change activate calls to toggle calls
2024-04-01 19:09:17 -04:00
Ryan Brue
91b4f80a9f
fix: don't allow favoriting apps without an exec string
2024-04-01 19:09:17 -04:00
Ryan Brue
0629b18e00
feat: app list click: two or more toplevel behavior
2024-04-01 19:09:17 -04:00
Ryan Brue
5b78a9f22e
feat: app-list click: zero and single toplevel behavior
2024-04-01 19:09:17 -04:00
Ashley Wulber
71cb9e64ec
fix: better button sizing so there are no gaps
2024-03-28 19:54:24 -04:00
Ian Douglas Scott
a18d64add7
battery: Show keyboard backlight only when supported
2024-03-28 15:31:44 -07:00
Ian Douglas Scott
d5aa2f3252
status-area: Handle clients that don't provide icon_name/icon_pixmap
...
It seems some clients expose the properties and leave them empty, but
others just provide either one on its own.
This fixes clients like Mattermost.
2024-03-28 15:31:44 -07:00
Ryan Brue
4103b2e359
feat: add launcher applet based on panel button
2024-03-28 14:44:16 -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
Ryan Brue
608d7837b5
feat: set integer X-MinimizeApplet priorities
2024-03-25 15:33:33 -06:00
Ashley Wulber
40bae48195
fix: connect to paired and trusted devices when they reappear
2024-03-25 15:33:32 -06:00
Ashley Wulber
829ae04cde
fix: autoconnect to paired and trusted devices
2024-03-25 15:33:31 -06:00
Mitchel Stewart
ebe720038a
fix(justfile): add prefixdir for symlink
2024-03-25 15:33:31 -06:00
Ashley Wulber
4510e81f6f
fix: better handling of request results in the network applet
2024-03-25 15:33:30 -06:00
Matthew Fallah (マシュー・ファラー)
f36684d773
i18n(es): fix typo
2024-03-25 15:33:29 -06:00
Gabriele
d22d4274ec
i18n(it): translation improvements
2024-03-25 15:33:28 -06:00
VandaLHJ
4fc2c93664
i18n(pl): add translations for run keywords
2024-03-25 15:33:27 -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
d080480708
fix(justfile): wrong target path for symlink
2024-03-25 15:33:25 -06:00
Michael Aaron Murphy
313b4cb943
chore(cargo): add cargo-machete ignore list
2024-03-25 15:33:24 -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