Commit graph

471 commits

Author SHA1 Message Date
Vincent Bernat
37895d3976 polybar: provides an example on how to split monitors 2021-08-26 09:21:56 +02:00
Vincent Bernat
30c8f78f70 xsettings: also set Xft.rgba
Emacs with Harfbuzz is not using XSETTINGS for that... There is a code
path enabled only with XFT. It seems the settings is ignored by
Cairo, despite code for parsing that being here...
2021-08-23 14:56:41 +02:00
Vincent Bernat
41dba59ce2 polybar: switch back to xrandr to find monitors
For some reason, I get this with polybar:

```
DisplayPort-3-1: 1920x1440+0+0 (XRandR monitor)
DisplayPort-3-2: 1520x1440+1920+0 (XRandR monitor)
DisplayPort-3: 3440x1440+0+0 (primary)
```
2021-08-23 10:16:03 +02:00
Vincent Bernat
32501093c1 rofi-mediaplayer: fix focus Spotify 2021-08-22 14:33:19 +02:00
Vincent Bernat
358cf0629d i3-companion: implement systemd notify 2021-08-22 09:03:18 +02:00
Vincent Bernat
2f74d47a74 polybar: kill itself if one instance is missing 2021-08-22 08:59:43 +02:00
Vincent Bernat
e54dcc7e6f polybar: fix monitor detection on clone
Polybar knows how to do that, let's just use polybar --list-monitors.
2021-08-22 08:31:38 +02:00
Vincent Bernat
cda8ef9831 systemd: switch back to PulseAudio 2021-08-21 14:05:39 +02:00
Vincent Bernat
ce3b8013f7 i3-companion: icon for draw.io 2021-08-20 10:42:17 +02:00
Vincent Bernat
bd60e9da60 input-event: register YubiKey to SSH agent 2021-08-19 17:14:31 +02:00
Vincent Bernat
b394ff168a input-event: do not try to configure a Yubikey 2021-08-19 10:47:50 +02:00
Vincent Bernat
5695665560 wallpaper: upgrade scaling to LANCZOS 2021-08-17 12:51:07 +02:00
Vincent Bernat
5a71ea3e28 Revert "polybar: don't try compatibility with RandR 1.5"
This reverts commit 25a147b97f.
2021-08-17 11:52:20 +02:00
Vincent Bernat
25a147b97f polybar: don't try compatibility with RandR 1.5
The feature is broken. See: https://gitlab.gnome.org/GNOME/gtk/-/issues/2013.
2021-08-16 21:13:00 +02:00
Vincent Bernat
a5c608eff8 Revert "polybar: fix monitor detection on clone"
This reverts commit 62a831ac40.
2021-08-16 17:47:03 +02:00
Vincent Bernat
62a831ac40 polybar: fix monitor detection on clone
Polybar knows how to do that, let's just use polybar --list-monitors.
2021-08-14 20:51:29 +02:00
Vincent Bernat
6b0c7b4c1d polybar-weather: try harder to wait to be online 2021-08-13 23:01:13 +02:00
Vincent Bernat
481b258fe0 polybar-weather: wait a bit longer when not online 2021-08-13 22:06:21 +02:00
Vincent Bernat
33babfb765 input-event: no more office at Blade 2021-08-13 20:23:29 +02:00
Vincent Bernat
dce67c7d60 polybar-weather: use onecall API
The daily forecast is not available for free.
2021-08-13 18:43:20 +02:00
Vincent Bernat
da6f9ff7aa polybar-weather: show daily forecast instead of hourly forecast 2021-08-13 16:50:54 +02:00
Vincent Bernat
ebed328443 i3-companion: correctly handle apps without window class
I am looking at you Spotify...
2021-08-12 10:44:57 +02:00
Vincent Bernat
60baedbadd ssh-add: make it work with "exploded" ssh config 2021-08-12 10:30:19 +02:00
Vincent Bernat
97f44f09b1 polybar-weather: don't use nm-online -s flag
It only checks if network manager was online at some point in the
past.
2021-08-12 07:51:37 +02:00
Vincent Bernat
eda39cbd22 polybar-weather: switch to Font Awesome for weather
This way, we only use one font. It seems good enough.
2021-08-11 18:28:42 +02:00
Vincent Bernat
6207bc2c7e polybar-weather: wait longer before checking nm-online 2021-08-11 15:55:25 +02:00
Vincent Bernat
8fd82af49f polybar-weather: discard first forecast if in less than two hours 2021-08-11 10:15:00 +02:00
Vincent Bernat
0129d85f70 polybar-weather: also log first forecast time 2021-08-11 08:32:28 +02:00
Vincent Bernat
7c39cfb940 polybar-weather: also use current weather
I was under the impression the first forecast value may include the
current weather. This is not the case. Times provided in forecast are
in UTC. So, also include the current weather.
2021-08-11 08:28:15 +02:00
Vincent Bernat
77db51b12c polybar-weather: fix missing import 2021-08-11 07:55:12 +02:00
Vincent Bernat
62645d0a66 polybar-weather: gracefully handle connection error when waking up
nm-online may think we are still online, but we are not, just try a
location request and if it fails, wait to be online.
2021-08-10 21:45:09 +02:00
Vincent Bernat
af1e3135cf polybar-weather: log city, just in case 2021-08-10 17:20:18 +02:00
Vincent Bernat
9e55aa23b9 polybar-weather: make number of forecasts configurable 2021-08-10 17:15:25 +02:00
Vincent Bernat
f7e0fd5250 dimmer: rename to xss-dimer 2021-08-10 16:17:02 +02:00
Vincent Bernat
e88352aa67 polybar-weather: tell where to find weather icons 2021-08-10 13:35:16 +02:00
Vincent Bernat
78004178e4 polybar-weather: use different icons when day/night
Also, on hot days, switch to a specific icon.
2021-08-10 13:34:17 +02:00
Vincent Bernat
1924f7731e wallpaper: rename wallpaper binary to match service name 2021-08-10 13:21:04 +02:00
Vincent Bernat
85b56cd2d5 weather: remove dupes in forecast if no change 2021-08-10 13:14:22 +02:00
Vincent Bernat
0559c830ef polybar: display current weather 2021-08-10 13:08:15 +02:00
Vincent Bernat
89e38c3d25 xss-lock: document an alternative using xsecurelock and mpv
Also, it would be neat if --panscan=1.0 was enabled in mpv
configuration.
2021-08-09 19:51:14 +02:00
Vincent Bernat
30df63aea1 i3-companion: fix case where candidate workspace is scratchpad 2021-08-09 16:22:09 +02:00
Vincent Bernat
e91e96c77b i3-companion: fix detection of intrusive apps 2021-08-09 16:18:28 +02:00
Vincent Bernat
33b63b8eeb i3-companion: icon for DarkTable 2021-08-09 12:17:33 +02:00
Vincent Bernat
7e7de17938 i3-companion: icon for grisbi 2021-08-08 21:49:46 +02:00
Vincent Bernat
14d64de364 wallpaper: add support for WebP format 2021-08-08 15:25:59 +02:00
Vincent Bernat
e4a5aa99e8 i3: move screenshot to an helper script 2021-08-08 13:18:49 +02:00
Vincent Bernat
17b0e272ae polybar: make the bar a bit smaller 2021-08-07 21:09:10 +02:00
Vincent Bernat
5ebd843b65 dimmer: adapt default opacity values
The goal is to still be able to kill it in case something wrong happens.
2021-08-07 14:16:36 +02:00
Vincent Bernat
3a61a26cba dimmer: fix exception catching when handling X events 2021-08-07 14:11:59 +02:00
Vincent Bernat
383c52c4be dimmer: simplify shebang 2021-08-07 14:11:15 +02:00