Commit graph

584 commits

Author SHA1 Message Date
Vincent Bernat
d945767751 spotify: need more time to figure out which stream is the active one 2022-07-22 14:43:35 +02:00
Vincent Bernat
064ea737e8 polybar: show version when starting 2022-07-22 14:00:52 +02:00
Vincent Bernat
a614930197 spotify: try to fix stream cleaning 2022-07-22 12:08:27 +02:00
Vincent Bernat
14f933d7e7 wallpaper: use Image.Resampling.LANCZOS 2022-07-19 23:47:46 +02:00
Vincent Bernat
54d5d473af spotify: disable streams cleaning
It seems it kills the wrong ones.
2022-07-17 10:34:05 +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
5102803e75 spotify: make it work with only pw-cli 2022-06-30 21:22:43 +02:00
Vincent Bernat
8cd2ed3730 Revert "spotify: remove socket cleaning"
This reverts commit 2e4e2d311c. Problem
is still here.
2022-06-30 21:18:07 +02:00
Vincent Bernat
2e4e2d311c spotify: remove socket cleaning
This may not needed anymore. Moreover, the ID returned by pactl is not
the one we can use with PipeWire.
2022-06-29 11:02:07 +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
9ed4a7f87c thunderbird: remove thunderbird-notify
Replaced by a custom extension.
2022-06-19 22:26:51 +02:00
Vincent Bernat
23d3b28d08 thunderbird: do not rely on x-mozilla-status
For some reason, incoming messages are still set as "read".
2022-06-15 23:45:14 +02:00
Vincent Bernat
1e67f3d0e8 thunderbird: do not display notifications for read messages 2022-06-15 08:49:30 +02:00
Vincent Bernat
af4d1bd738 thunderbird: use a configuration file 2022-06-13 10:49:30 +02:00
Vincent Bernat
d2a308f472 thunderbird: use dates as watermark
This should be more robust in case something gets deleted. However,
Thunderbird only mark messages for deletion, but this could still
happen on compaction.
2022-06-13 07:08:09 +02:00
Vincent Bernat
b4260d3591 thunderbird: process the right folder when detecting a change 2022-06-13 06:54:38 +02:00
Vincent Bernat
a9f7026b83 thunderbird: ensure thunderbird is started in the background 2022-06-12 20:31:44 +02:00
Vincent Bernat
fa4bbc3f92 thunderbird: simplify headers decoding 2022-06-12 18:53:01 +02:00
Vincent Bernat
3985ffa085 thunderbird: add an action to open message 2022-06-12 18:42:58 +02:00
Vincent Bernat
d71dd264c3 thunderbird: primitive email notifier 2022-06-12 18:03:42 +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
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