Commit graph

1681 commits

Author SHA1 Message Date
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
d3c6c5c8cc dunst: allow progress bars 2022-05-11 20:54:02 +02:00
Vincent Bernat
6237082c06 config: also handle Jitsi sharing indicator 2022-05-10 16:51:28 +02:00
Vincent Bernat
5489a3f2dd i3-companion: use info icon for info about container 2022-05-10 16:49:30 +02:00
Vincent Bernat
1ce4b299ef dunst: don't restrict height 2022-05-10 16:45:38 +02:00
Vincent Bernat
b16132d051 easyeffects: add again 2022-05-06 22:01:02 +02:00
Vincent Bernat
43094b7e81 dunst: don't lookup legacy icons
I don't think this is still used. Also, actions is for menu and dialogs.
2022-05-06 10:24:21 +02:00
Vincent Bernat
69e5edb9b4 dunst: hard code icon paths
Prefer larger icons (scaled down) and prefer Adwaita to Gnome.
2022-05-05 11:18:52 +02:00
Vincent Bernat
47cddbcccd firefox: remove outdated settings
Devtools is following Firefox theme now. And the second setting does
not exist anymore.
2022-05-05 09:15:29 +02:00
Vincent Bernat
7ec90e619b gtk3: stop rounding everything
Also remove the workaround for blur. It was needed for Firefox, but
at the end, it was disabled for Firefox.
2022-04-30 19:42:21 +02:00
Vincent Bernat
b00f6b9a6b picom: disable blur
This is too much trouble. GTK4 is crazy with CSD and it's hard to fix
by CSS since we cannot inspect these menus.
2022-04-30 19:34:30 +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
24219e2382 pipewire: switch to Pipewire using Nix 2022-04-30 15:16:18 +02:00
Vincent Bernat
7b8259305a dunst: use Nix systemd file 2022-04-30 14:56:05 +02:00
Vincent Bernat
a4faad825f dunst: pull from Nix and update to 1.8.1 2022-04-26 16:50:57 +02:00
Vincent Bernat
14a209e0ea xsession: make cursor works from Nix programs
Otherwise, we get plain X cursors.
2022-04-21 22:04:27 +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
ffbc1f4887 picom: jitsi meet should not be transparent 2022-04-14 14:40:13 +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
6b99daccaa xsession: create GTK bookmarks from Zsh configuration 2022-04-07 22:38:39 +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
4cc25a371c firefox: mention bug that makes VA-API not working at all
:-/
2022-04-07 11:04:05 +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
c56649ca95 picom: update firefox rule for not using blur background on menus 2022-03-11 00:01:01 +01:00
Vincent Bernat
1961564b0d i3-companion: icon for virt-manager 2022-03-10 18:19:25 +01:00
Vincent Bernat
9a8831ffdf firefox: remove outdated settings 2022-03-08 15:40:31 +01:00
Vincent Bernat
440a94ab4a weather: don't require weather.service on boot
Without network, it will stay as "activating".
2022-03-04 21:35:39 +01:00
Vincent Bernat
35c275e466 picom: reduce transparency of all menus to improve readibility 2022-03-03 23:10:07 +01:00
Vincent Bernat
ac47c8be9c i3: restrict rules for Chromium/Firefox sharing indicator to floating windows
This seems safer.
2022-02-28 12:33:43 +01:00