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
0dd6a2847d
screenshot: wait 1/60th second before taking the screenshot
...
This helps to avoid to capture the selection rectangle.
2022-04-08 19:23:53 +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
d9a4b7c2d5
Revert "xss-lock: temporarily disable off state"
...
This reverts commit a15c6b410f
. No
change on my problem...
2022-02-17 16:08:31 +01:00
Vincent Bernat
a15c6b410f
xss-lock: temporarily disable off state
2022-02-14 10:50:02 +01:00
Vincent Bernat
4af98c2589
music: replace Spotify by Deezer
2022-01-31 23:33:09 +01:00
Vincent Bernat
c8e2390995
xsecurelock: give a slight advantage to the left screen as a leader
2022-01-13 21:38:33 +01:00
Vincent Bernat
2dd8caaaea
i3-companion: fix monospace use when displaying workspace info
2022-01-12 12:25:18 +01:00
Vincent Bernat
8fbc2560df
xsecurelock: only display clock and weather on one screen
...
Relying on position is weak. Use an abstract Unix socket to take some
kind of lock and declare a leader.
2022-01-09 12:28:04 +01:00
Vincent Bernat
e1e30cc105
rofi-mediaplayer: allow to quit with Super+Escape as well as Escape
2022-01-07 23:29:56 +01:00
Vincent Bernat
f00dbb1fb4
rofi-mediaplayer: use -kb-custom instead of -kb-select
...
With -kb-select, we could enter a string, then Super+z would select
the first entry and not the previous keybinding.
2022-01-07 23:27:41 +01:00
Vincent Bernat
64f41c4825
xsecurelock: only display weather on first screen
2021-12-31 22:16:18 +01:00
Vincent Bernat
a2d62dc47c
xss-lock: do not stop saver when DPMS kicks in
...
I have another issue on neo's resume. Let's investigate.
2021-12-28 23:18:52 +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
2dd1c9e1c7
Revert "easyeffects: run Flatpak"
...
This reverts commit 2d45bb63f5
. Dunno
how to properly integrate a Flatpak with systemd.
2021-12-27 11:43:33 +01:00
Vincent Bernat
2d45bb63f5
easyeffects: run Flatpak
2021-12-27 11:42:41 +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
911ba9c0ff
weather: don't crash when no city
2021-12-26 18:36:59 +01:00
Vincent Bernat
852cb4967b
xsecurelock: more less debug print
2021-12-26 18:36:47 +01:00
Vincent Bernat
e3f120e6b1
xsecurelock: remove debug print
2021-12-26 18:31:21 +01:00
Vincent Bernat
76577590e1
xsecurelock: keep a reference to monitor
2021-12-26 16:44:57 +01:00
Vincent Bernat
bce64c1118
bin: run black
2021-12-26 15:31:38 +01:00
Vincent Bernat
45ee293d35
weather: do not make it depend on polybar
...
It's not used only by polybar and can be run before or after it.
2021-12-26 14:58:32 +01:00
Vincent Bernat
4ec09efa25
xss-lock: comment invocation of xsecurelock
2021-12-26 12:32:18 +01:00
Vincent Bernat
0de76ac9a5
rofi-mediaplayer: use a generic icon for mediaplayer
2021-12-24 01:40:38 +01:00
Vincent Bernat
7bfa942842
xss-lock: increase timeouts
2021-12-22 09:40:31 +01:00
Vincent Bernat
2351fe909c
xss-dimmer: use none as a default easing function
...
Now that picom does not change opacity of the window, this is just
fine.
2021-12-20 10:43:06 +01:00
Vincent Bernat
ffe86057f4
polybar-weather: use location pin instead of windsock
2021-12-19 20:36:10 +01:00
Vincent Bernat
a43c1d8b99
xss-lock: do not stop saver when DPMS kicks in
...
This needs a custom version of xsecurelock. Our saver is
energy-efficient!
2021-12-19 12:47:58 +01:00
Vincent Bernat
2fdafc8d3a
polybar: sanitize a bit more untrusted inputs
2021-12-19 12:36:00 +01:00
Vincent Bernat
5da755a496
polybar-weather: add a timeout to requests
2021-12-15 22:53:35 +01:00
Vincent Bernat
4d350646c0
xsecurelock: cast a shadow instead of using an outline
2021-12-14 07:33:34 +01:00
Vincent Bernat
e191460f50
xsecurelock: thicker outline
2021-12-14 07:04:10 +01:00
Vincent Bernat
de640112eb
xsecurelock: use an outline again
...
But ensure it's not too visible when it's not needed
2021-12-13 23:24:11 +01:00
Vincent Bernat
0ac37ce34d
xsecurelock: increase readibility on light backgronds
...
Yes, I have some of them. No outline.
2021-12-13 22:49:43 +01:00
Vincent Bernat
76dfac0d99
xss-dimmer/xsecurelock: handle case where background is too small
2021-12-13 21:20:58 +01:00
Vincent Bernat
de2c9879bc
xsecurelock: don't use bold for date
2021-12-13 21:07:00 +01:00