Commit graph

108 commits

Author SHA1 Message Date
outfoxxed
7f9762be53
service/pipewire: disconnect link tracker from registry on node destroy
Caused duplicate entries to be created due to double connection, which
then caused a crash.
2024-09-17 23:44:41 -07:00
outfoxxed
931aca5392
service/pipewire: don't use configured default devices
These don't appear to be intended for use by applications, only the
non configured ones.

This fixes the default device being unset on many computers and the
device being lost on actions like headphone unplug which replace it.
2024-09-17 23:04:06 -07:00
outfoxxed
bdc9fe958b
service/tray: delete image pixmaps created with new[] using delete[] 2024-09-15 13:50:00 -07:00
outfoxxed
f6ad617b67
service/pipewire: ignore insignificant device volume changes
Fixes devices getting stuck in a "waiting for volume change
acknowledgement" state forever.
2024-08-29 13:21:07 -07:00
outfoxxed
79b22af093
service/pipewire: avoid overloading devices with volume changes
Wait until in-flight changes have been responded to before sending more.
2024-08-27 20:34:11 -07:00
outfoxxed
c60871a7fb
service/pipewire: set device node volumes with device object
Fixes discrepancies between pulse and qs volumes, and volumes not
persisting across reboot or vt switches.
2024-08-27 01:34:34 -07:00
outfoxxed
fe1d15e8f6
crash: add crash reporter 2024-08-20 00:55:07 -07:00
outfoxxed
5a038f085d
service/mpris: support trackids in object path form
Chromium reports trackids as object paths, which caused us to fall
back to Seek, which is also entirely broken on chromium.
2024-08-18 13:41:16 -07:00
outfoxxed
e223408143
service/mpris: fix display position when paused 2024-08-18 13:07:52 -07:00
outfoxxed
ba1e535f9c
core/util: add experimental member macros
An experiment that should reduce boilerplate for properties that just
access a backing value. Code also exists for using it as an interface
for other properties as well, but isn't currently in use.
2024-07-30 20:23:57 -07:00
outfoxxed
8873a06962
service/notifications: use DROP_EMIT_SET for notification properties 2024-07-30 12:20:39 -07:00
outfoxxed
abc0201f6e
service/mpris: add uniqueId property to detect track changes
Also emits all property changes after trackChanged
2024-07-29 01:34:44 -07:00
outfoxxed
d9f66e63a3
service/upower!: divide percentage by 100
Brings range back to the expected 0-1 instead of 0-100.
2024-07-28 20:28:45 -07:00
outfoxxed
6b9b1fcb53
core/menu: add QsMenuAnchor for more control of platform menus 2024-07-25 20:44:26 -07:00
outfoxxed
54350277be
core/menu: add handle support to QsMenuOpener + add handle to tray 2024-07-25 02:51:17 -07:00
outfoxxed
acdbe73c10
dbus/dbusmenu: separate menu handles from status notifier items
No api changes yet.
2024-07-25 01:32:05 -07:00
outfoxxed
a9e4720fae
docs: use new member reference shorthand 2024-07-21 17:41:49 -07:00
outfoxxed
e9cacbd92d
all: use type/prop shorthand in docs 2024-07-14 16:17:51 -07:00
outfoxxed
e23923d9a2
service/notifications: make notifications Retainable 2024-07-12 21:25:46 -07:00
outfoxxed
7c5632ef5f
service/upower: start upower dbus service if inactive 2024-07-12 20:16:10 -07:00
outfoxxed
d630cc7f76
service/notifications: add notifications service 2024-07-12 00:50:00 -07:00
outfoxxed
49b309247d
all: fix formatting 2024-07-11 00:16:44 -07:00
Ben
24f54f579f service/upower: add upower service 2024-07-10 14:21:34 -04:00
outfoxxed
fdbb490537
service/tray: fix crash when display is called on a menuless item 2024-07-02 10:52:11 -07:00
outfoxxed
b4be383695
service/tray: log menu refcount updates 2024-07-02 10:50:07 -07:00
outfoxxed
ec362637b8
service/tray!: redesign menus / dbusmenu and add native menu support
Reworks dbusmenu menus to be displayable with a system context menu.

Breaks the entire DBusMenu api.
2024-07-01 20:50:30 -07:00
outfoxxed
8547d12396
service/pipewire: make binding warnings in docs more obvious 2024-06-27 20:45:27 -07:00
outfoxxed
d8fa9e7bb3
service/mpris: add properties for common track metadata
This was done to work around bad player implementations sending weird
metadata, such as removing the art url halfway through a song.
2024-06-21 19:03:40 -07:00
outfoxxed
c56a3ec966
service/mpris: add shorthand for playback state changes 2024-06-21 16:31:02 -07:00
outfoxxed
3573663ab6
service/greetd: add greetd service 2024-06-20 15:39:49 -07:00
outfoxxed
59cf60d83e
service/pam: add responseVisible
Fixes misunderstanding of "echo".
2024-06-19 00:31:09 -07:00
outfoxxed
e89035b18c
service/pam: move pam execution to subprocess to allow killing it
Many pam modules can't be aborted well without this.
2024-06-18 03:29:25 -07:00
outfoxxed
b5c8774a79
service/pam: send completed messages after destroying pam conv
Allows context to be restarted in a complete handler.
2024-06-17 20:30:23 -07:00
outfoxxed
7e5d128a91
service/pam: add pam service 2024-06-17 18:32:13 -07:00
outfoxxed
b1f5a5eb94
service/mpris: preserve mpris watcher and players across reload 2024-06-02 16:18:45 -07:00
outfoxxed
06240ccf80
service/mpris: improve compatibility with noncompliant players 2024-05-23 18:15:49 -07:00
outfoxxed
5016dbf0d4
all: replace list properties with ObjectModels 2024-05-23 17:28:07 -07:00
outfoxxed
6326f60ce2
service/mpris: re-query position on playback and metadata change 2024-05-23 02:38:26 -07:00
outfoxxed
ac339cb23b
service/mpris: expose desktopEntry property 2024-05-22 05:40:03 -07:00
outfoxxed
f2df3da596
service/mpris: fix position being incorrect after pausing 2024-05-22 04:34:56 -07:00
outfoxxed
ed3708f5cb
service/mpris: add trackChanged signal 2024-05-21 05:07:24 -07:00
outfoxxed
4ee9ac7f7c
service/mpris: finish mpris implementation 2024-05-21 04:09:19 -07:00
kossLAN
3b6d1c3bd8
feat: mpris 2024-05-21 04:09:19 -07:00
outfoxxed
908ba3eef5
hyprland/global_shortcuts: fix crash when protocol is not present 2024-05-19 02:50:14 -07:00
outfoxxed
3e80c4a4fd
service/pipewire: add pipewire module 2024-05-19 02:29:21 -07:00
outfoxxed
bba8cb8a7d
hyprland/global_shortcuts: add GlobalShortcut 2024-05-06 22:19:50 -07:00
outfoxxed
e7cfb5cf37
service/tray: move menu access to SystemTrayMenuWatcher 2024-05-01 02:55:23 -07:00
outfoxxed
658f3cf411
docs: add API documentation for SystemTray and DBusMenu 2024-04-30 01:27:06 -07:00
outfoxxed
61061644a5
dbus/dbusmenu: add DBusMenu support 2024-04-29 23:57:26 -07:00
outfoxxed
7cc1b54587
service/tray: rework tray image providers 2024-04-29 22:28:09 -07:00