Benjamin Chausse b4be02f3a8
Add monchange patch
Allows one to call a script whenever the monitor configuration changes
(connect/disconnect). As an example, one might want to update the
wallpapers on each display. Here is a script that could be called by
`monchange` in the `config.h` to achieve this:

```
wallDir="${XDG_CONFIG_HOME:-$HOME}/wallpapers"

displays="$(wlr-randr --json | jq -r '.[] | select(.enabled) | .name')"
echo "$displays"

setDisplay() {
	case $(ls $wallDir) in
	*"$1"*)
		wall=$(ls $wallDir | grep "$1" | head -n 1)
		;;
	*)
		wall=$(ls $wallDir | grep "default" | head -n 1)
		;;
	esac
  swaybg --output $1 -m fill --image $wallDir/$wall &
}

killall swaybg > /dev/null 2>&1
for display in $displays; do
	setDisplay $display
done
```
2024-08-10 14:10:57 -04:00
..
2024-05-10 19:20:59 +02:00
2024-06-05 12:05:52 +02:00
2024-05-09 23:12:04 -05:00
2024-07-31 01:51:21 -06:00
2024-08-05 01:38:57 +03:00
2024-08-05 01:45:40 +03:00
2024-08-05 01:44:22 +03:00
2024-07-09 11:10:50 -05:00
2024-05-09 23:12:04 -05:00
2024-05-09 23:12:04 -05:00
2024-05-09 23:12:04 -05:00
2024-07-29 21:38:45 +02:00
2024-05-09 23:12:04 -05:00
2024-06-07 16:00:55 -06:00
2024-05-11 02:59:40 +00:00
2024-07-14 14:55:26 +02:00
2024-07-29 21:28:41 +02:00
2024-07-13 08:59:29 +08:00
2024-05-09 23:12:04 -05:00
2024-06-21 13:33:56 +00:00
2024-06-21 13:33:56 +00:00
2024-05-09 23:12:04 -05:00
2024-07-12 15:48:02 -07:00
2024-06-14 18:29:31 +03:00
2024-05-09 23:12:04 -05:00
2024-08-05 01:40:35 +03:00
2024-05-09 23:12:04 -05:00
2024-07-29 21:34:52 +08:00
2024-06-01 02:37:13 +02:00
2024-06-07 16:00:58 -06:00
2024-05-09 23:12:04 -05:00
2024-05-09 23:12:04 -05:00
2024-06-07 16:00:59 -06:00
2024-07-13 01:11:05 +02:00
2024-08-06 00:40:57 +03:00
2024-05-09 23:12:04 -05:00
2024-08-10 14:10:57 -04:00
2024-05-09 23:12:04 -05:00
2024-05-09 23:12:04 -05:00
2024-07-31 13:33:25 +00:00
2024-05-09 23:12:04 -05:00
2024-05-09 23:12:04 -05:00
2024-06-13 15:03:47 -06:00
2024-05-09 23:12:04 -05:00
2024-05-09 23:12:04 -05:00
2024-05-09 23:12:04 -05:00
2024-05-09 23:12:04 -05:00
2024-06-21 13:33:56 +00:00
2024-06-26 10:14:15 +03:00
2024-05-09 23:12:04 -05:00
2024-07-09 11:08:12 -05:00
2024-07-15 17:19:21 +00:00
2024-05-09 23:12:04 -05:00
2024-07-18 11:18:54 +10:00
2024-06-07 16:01:01 -06:00
2024-06-21 13:33:56 +00:00
2024-07-03 12:12:10 +08:00
2024-07-26 13:41:02 +02:00
2024-07-13 20:45:57 +08:00
2024-05-09 23:12:04 -05:00
2024-05-09 23:12:04 -05:00
2024-07-31 22:02:47 +08:00
2024-08-07 18:16:07 +00:00
2024-05-09 23:12:04 -05:00
2024-08-06 21:02:45 +02:00
2024-06-07 16:01:02 -06:00
2024-05-09 23:12:04 -05:00
2024-05-09 23:12:04 -05:00
2024-06-06 16:22:57 +02:00
2024-07-29 21:34:27 +02:00