Commit graph

662 commits

Author SHA1 Message Date
Vincent Bernat
61507fd388 easyeffects: remove
No particular reason, it seems just not worth the additional CPU usage yet.
2022-05-21 14:04:39 +02:00
Vincent Bernat
964d2c565d picom: ensure $XDG_RUNTIME_DIR/i3 exists 2022-05-13 08:20:48 +02:00
Vincent Bernat
1db8eace7f xss-dimmer: ensure dimmer don't block normal lock operations 2022-05-12 10:25:50 +02:00
Vincent Bernat
7b1c7c13d5 Revert "xss-dimmer: play a sound to notice dimmer when not looking at the screen"
This reverts commit 131962b3a6. Well,
doesn't work.
2022-05-11 21:21:02 +02:00
Vincent Bernat
131962b3a6 xss-dimmer: play a sound to notice dimmer when not looking at the screen
Second try, but tell SDL to install a signal handler.
2022-05-11 21:01:08 +02:00
Vincent Bernat
e52f0e4bc3 Revert "xss-dimmer: play a sound to notice dimmer when not looking at the screen"
This reverts commit 398ef9263b. pygame
intercepts SIGTERM. Maybe we could use Gstreamer instead. No time for
that, let just remove this feature for now.
2022-05-11 20:55:42 +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
398ef9263b xss-dimmer: play a sound to notice dimmer when not looking at the screen 2022-04-30 16:19:06 +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
f86f0469e5 screenshot: increase a bit the delay to take the screenshot 2022-04-21 12:52:33 +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
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