diff options
-rw-r--r-- | desktop.conf.yaml | 1 | ||||
-rw-r--r-- | dotfiles/Xsession | 13 |
2 files changed, 14 insertions, 0 deletions
diff --git a/desktop.conf.yaml b/desktop.conf.yaml index 24700c8..fa2eb13 100644 --- a/desktop.conf.yaml +++ b/desktop.conf.yaml @@ -9,3 +9,4 @@ ~/.urxvt/ext/reselect: urxvt/reselect/reselect ~/.xscreensaver: dotfiles/xscreensaver ~/.Xresources: dotfiles/Xresources + ~/.Xsession: dotfiles/Xsession 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 |