From efeaebd8b1a8d9c4eecac51ee22f66b9bb307948 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sat, 26 Jun 2021 08:21:58 +0200 Subject: Add Xsession. --- dotfiles/Xsession | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 dotfiles/Xsession (limited to 'dotfiles') diff --git a/dotfiles/Xsession b/dotfiles/Xsession new file mode 100644 index 0000000..45c1c27 --- /dev/null +++ b/dotfiles/Xsession @@ -0,0 +1,13 @@ +#!/bin/sh + +# screen locker +xscreensaver & + +# on FIDO HW key add/remove, update the SSH agent +udev_match --subsystem=hidraw --match=ACTION=remove --match=ID_FIDO_TOKEN=1 ssh_sk_clean & +udev_match --subsystem=hidraw --match=ACTION=add --match=ID_FIDO_TOKEN=1 "ssh-add -K" & + +# source the machine-local configuration +[ -r "$HOME/.config/Xsession_local" ] && . "$HOME/.config/Xsession_local" + +/usr/bin/awesome -- cgit v1.2.3