Commit graph

209 commits

Author SHA1 Message Date
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
Vincent Bernat
fcd75c38b4 i3-companion: let @retry decorator handle exception for battery 2022-03-29 07:56:02 +02:00
Vincent Bernat
f439a62b1c i3-companion: schedule bluetooth battery update even on failures 2022-03-28 11:42:34 +02:00
Vincent Bernat
0ed90e0f85 i3-companion: make a note to check when PA16 is released 2022-03-27 09:05:24 +02:00
Vincent Bernat
5d85f8db80 i3-companion: cleaner way to format bluetooth widget 2022-03-26 22:34:52 +01:00
Vincent Bernat
6e7d529abf i3-companion: avoid invoking bluetooth_status() without creating a task 2022-03-26 21:02:20 +01:00
Vincent Bernat
14604234f1 i3-companion: fix bluetooth battery refresh 2022-03-26 19:30:48 +01:00
Vincent Bernat
87b9d9739e i3-companion: hack to get battery level on Bose QC35 II 2022-03-26 19:15:27 +01:00
Vincent Bernat
3f915404a8 i3-companion: handle absence of Bluetooth class on a device
This seems to happen on first pairing.
2022-03-16 19:54:55 +01:00
Vincent Bernat
f128c10012 i3-companion: document polybar wire-format 2022-03-11 09:29:01 +01:00
Vincent Bernat
9cc40b8755 i3-companion: use new protocol format
It's simple enough and I don't want to spawn a polybar-msg. Maybe at a
later point, we may be smarter. The problem with the old socket is
that if you send messages fast enough on it, polybar may believe they
are one message since it is not length-encoded on its side and it's a
simple FIFO file (so no message boundaries). Dunno why I didn't get a
problem until now.
2022-03-11 09:20:15 +01:00
Vincent Bernat
1961564b0d i3-companion: icon for virt-manager 2022-03-10 18:19:25 +01:00
Vincent Bernat
4af98c2589 music: replace Spotify by Deezer 2022-01-31 23:33:09 +01:00