Commit graph

221 commits

Author SHA1 Message Date
Vincent Bernat
1c61c22066 i3-companion: fix bluetooth not powered case 2024-07-06 12:01:58 +02:00
Vincent Bernat
ef60aa5f13 i3-companion: fix typing error 2024-07-06 09:16:03 +02:00
Vincent Bernat
45043e617a i3-companion: only rely on Icon to get the icon
No need to parse classes ourselves, this is already done in BlueZ.
2024-07-06 09:14:36 +02:00
Vincent Bernat
8fa546d4a5 i3-companion: also listen to new interfaces to get battery status 2024-07-05 20:29:19 +02:00
Vincent Bernat
4ef90a4534 i3-companion: also listen to org.bluez.Device1 ServicesResolved
This is useful to get battery status on connect since it can be a bit late.
2024-07-05 20:17:09 +02:00
Vincent Bernat
573b9c472c i3-companion: add support for BT devices without a class but with icon 2024-07-04 17:33:08 +02:00
Vincent Bernat
4e1b7223ca i3-companion: add icon for Ungoogled Chromium 2024-06-22 22:09:54 +02:00
Vincent Bernat
8235201167 Revert "music: replace Spotify by Deezer"
This reverts commit 7086a909cf.
2024-05-18 14:42:40 +02:00
Vincent Bernat
dd885314b1 i3-companion: add icon for geeqie 2024-05-06 08:50:35 +02:00
Vincent Bernat
7086a909cf music: replace Spotify by Deezer 2024-03-23 08:18:26 +01:00
Vincent Bernat
a0ce4d2894 i3-companion: ignore sticky when not floating 2024-03-19 13:27:23 +01:00
Vincent Bernat
ac9e1c766d i3-companion: only ignore windows that are both sticky and floating 2024-03-05 08:05:31 +01:00
Vincent Bernat
88a3406782 i3-companion: add nsxiv 2023-08-01 21:34:06 +02:00
Vincent Bernat
e501d8e769 i3: add a binding to move all workspaces to the next output 2023-07-01 17:04:29 +02:00
Vincent Bernat
6ec5296a31 Revert "i3-companion: tentative to hanle OnlyOffice stealing focus"
This reverts commit c79fe3efb9. This does
not work. Dunno why this happens only for OnlyOffice...
2023-06-07 19:42:54 +02:00
Vincent Bernat
c79fe3efb9 i3-companion: tentative to hanle OnlyOffice stealing focus 2023-06-07 19:42:35 +02:00
Vincent Bernat
7985f12d5d i3-companion: keep notifications for blocked devices forever 2023-04-07 20:46:52 +02:00
Vincent Bernat
3176c9d9ed i3-companion: add icon for OnlyOffice 2023-03-18 20:24:39 +01:00
Vincent Bernat
fd99030b86 i3-companion: make usbguard notifications more compact 2023-03-13 15:18:47 +01:00
Vincent Bernat
aa0e6972cf i3-companion: add icon for "soffice" 2023-03-13 14:15:05 +01:00
Vincent Bernat
ba33d4499a i3-companion: display applied policy for usbguard notifications 2023-03-12 11:59:26 +01:00
Vincent Bernat
ab391e9ebf i3-companion: implement usbguard notifications 2023-03-12 11:50:11 +01:00
Vincent Bernat
e3d7e4da56 i3-companion: add icon for pinentry 2023-03-05 22:57:37 +01:00
Vincent Bernat
c1d8fb6fda i3-companion: add thunderbird-beta as an exclusive app 2022-10-25 09:41:24 +02:00
Vincent Bernat
5d92f9fa4c i3-companion: add Thunderbird to exclusive apps 2022-10-23 10:45:45 +02:00
Vincent Bernat
c70cf25d85 i3-companion: also split on "_" for class names 2022-10-15 14:54:18 +02:00
Vincent Bernat
a6663375c8 i3-companion: add AnyDesk 2022-10-13 12:10:35 +02:00
Vincent Bernat
2015c5174b i3-companion: add icon for Zeal 2022-09-21 00:54:17 +02:00
Vincent Bernat
f69cf5a056 i3-companion: force DPMS level to 0 only if > 0
Otherwise, it seems we may trigger screen blanking.
2022-08-30 08:26:33 +02:00
Vincent Bernat
feaab4ed6f i3-companion: fix DPMS off 2022-08-15 19:04:35 +02:00
Vincent Bernat
9c8012db81 i3-companion: add a proper comment to latest event function 2022-08-15 11:04:57 +02:00
Vincent Bernat
bc8b7bf97b i3-companion: on resume, force DPMS off 2022-08-15 10:56:47 +02:00
Vincent Bernat
2f201d14a2 i3-companion: add icon for Peek 2022-08-10 01:21:54 +02:00
Vincent Bernat
420a4c1d01 i3-companion: add icon for Blender 2022-07-28 10:32:56 +02:00
Vincent Bernat
5a8c0d87a1 i3: simplify zoom stuff
It seems recent versions are now setting the class correctly.
2022-07-27 22:24:49 +02:00
Vincent Bernat
8b891bbf8d i3: try to make it work with Zoom
Zoom is trying very hard to break all existing X11 conventions. Let's
try to make it work anyway.
2022-07-14 11:11:03 +02:00
Vincent Bernat
3b0af76dad Revert "music: replace Spotify by Deezer"
This reverts commit 4af98c2589. I feel
like they should provide a native client for Linux instead of relying
upon the community. MellowPlayer is unmaintained and does not have an
offline mode. Deezer seems the only streaming service with a Linux
client.
2022-06-26 13:51:22 +02:00
Vincent Bernat
0dd58976c8 i3-companion: catter for buggy Zoom class 2022-05-24 10:16:11 +02:00
Vincent Bernat
45b5d9a1a5 i3-companion: add thunderbird 2022-05-22 01:43:29 +02:00
Vincent Bernat
5489a3f2dd i3-companion: use info icon for info about container 2022-05-10 16:49:30 +02:00
Vincent Bernat
b16132d051 easyeffects: add again 2022-05-06 22:01:02 +02:00
Vincent Bernat
f8689c512b i3-companion: don't error when cannot connect to dead polybar socket 2022-04-30 15:21:40 +02:00
Vincent Bernat
75f5a9cdda Revert "i3-companion: revert back to using rfcomm to get battery"
This reverts commit 4ac86d1632. Let's
try again with Pipewire this time!
2022-04-30 15:17:23 +02:00
Vincent Bernat
4ac86d1632 i3-companion: revert back to using rfcomm to get battery
Unfortunately, Pulseaudio 15.99 is not stable yet.
2022-04-12 18:34:58 +02:00
Vincent Bernat
29612a7851 i3-companion: just wait more for bluetooth device change
This way, we wait enough to get battery level. Signal from PulseAudio
cannot be captured for some reason. UPower does not send a signal for
the new battery. And Bluez does not either.
2022-04-09 12:18:09 +02:00
Vincent Bernat
59382c1739 i3-companion: tentative to register for battery update from PulseAudio
Unfortunately, I am unable to receive anything... Maybe the path not
existing when registering does not help.
2022-04-09 12:17:09 +02:00
Vincent Bernat
48afaab4c7 i3-companion: debounce more bluetooth stuff
It may take a bit of time to let PulseAudio transmits battery status.
And for some reason, we don't get a property changed event.
2022-04-09 11:29:02 +02:00
Vincent Bernat
7314dfdd02 bin: use apheleia to format code 2022-04-08 21:56:42 +02:00
Vincent Bernat
3f312ed417 i3-companion: get battery level from BlueZ
This is made available with PulseAudio 16, exposed to BlueZ with
experimental support. Also available in upower, but we are already
interacting with BlueZ, so...
2022-04-07 17:52:40 +02:00
Vincent Bernat
9ba3f624d1 i3-companion: reduce a bit the code to query battery status 2022-03-31 09:22:47 +02:00