summaryrefslogtreecommitdiff
path: root/dotfiles/Xsession
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles/Xsession')
-rw-r--r--dotfiles/Xsession5
1 files changed, 5 insertions, 0 deletions
diff --git a/dotfiles/Xsession b/dotfiles/Xsession
index 72065a5..3d2a716 100644
--- a/dotfiles/Xsession
+++ b/dotfiles/Xsession
@@ -20,6 +20,11 @@ udev_match --subsystem=hidraw --match=ACTION=remove --match=ID_FIDO_TOKEN=1 ssh_
udev_match --subsystem=hidraw --match=ACTION=add --match=ID_FIDO_TOKEN=1 \
"ssh-add -K || notify-send -u critical 'Error adding FIDO2 keys to SSH agent' 'Wrong PIN?'" &
+# show notifications on brightness changes
+for d in /sys/class/backlight/*; do
+ brightness_monitor "$d" &
+done
+
# source the machine-local configuration
[ -r "$HOME/.config/Xsession_local" ] && . "$HOME/.config/Xsession_local"