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
Vincent Bernat
2dd8caaaea
i3-companion: fix monospace use when displaying workspace info
2022-01-12 12:25:18 +01:00
Vincent Bernat
23e16f4bbd
systemd: revert back to PulseAudio
...
Even on a very powerful system, I have some glitches. That's quite
odd...
2021-12-27 11:54:36 +01:00
Vincent Bernat
27f6ecdb09
Revert "systemd: switch back to PulseAudio"
...
This reverts commit cda8ef9831
.
2021-12-27 10:01:53 +01:00
Vincent Bernat
bce64c1118
bin: run black
2021-12-26 15:31:38 +01:00
Vincent Bernat
2fdafc8d3a
polybar: sanitize a bit more untrusted inputs
2021-12-19 12:36:00 +01:00
Vincent Bernat
f953002a6f
i3-companion: icon for retroarch
2021-11-08 21:01:21 +01:00
Vincent Bernat
3a6ea7d9d4
i3-companion: icon for mednafen
2021-11-07 11:09:46 +01:00
Vincent Bernat
bba5ef6bb1
i3-companion: stable order for icons
2021-10-10 14:49:59 +02:00
Vincent Bernat
3c036a1f74
i3-companion: icon for gaupol
2021-10-10 14:49:30 +02:00
Vincent Bernat
3d8dbf58e3
i3-companion: listen on generic of.DBus.Properties for wireless signal
...
NM 1.32 does not have the custom property anymore.
2021-10-03 08:00:34 +02:00
Vincent Bernat
c513f4a3ea
i3-companion: icon for Maps
2021-09-30 23:18:45 +02:00
Vincent Bernat
b75dd2422f
i3-companion: also add icon for "Spot"
2021-09-23 08:06:45 +02:00
Vincent Bernat
57c1d5d221
i3-companion: add icon for system-config-printer
2021-09-17 15:24:32 +02:00
Vincent Bernat
3bb3ad8335
i3-companion: add icon for ScummVM
2021-09-05 18:13:10 +02:00
Vincent Bernat
12a833300f
i3-companion: add icon for Jitsi
2021-08-29 10:47:03 +02:00
Vincent Bernat
56fc8daec2
i3-companion: handle Wireguard VPN
2021-08-28 13:31:02 +02:00