mirror of
https://github.com/fscotto/infra.git
synced 2026-05-30 23:49:56 +00:00
Add turnstile Emacs service and stable ssh-agent
This commit is contained in:
18
dotfiles/desktop/.local/bin/update-turnstile-env
Executable file
18
dotfiles/desktop/.local/bin/update-turnstile-env
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -eu
|
||||
|
||||
if ! command -v turnstile-update-runit-env >/dev/null 2>&1; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
turnstile-update-runit-env \
|
||||
DISPLAY \
|
||||
WAYLAND_DISPLAY \
|
||||
XAUTHORITY \
|
||||
DBUS_SESSION_BUS_ADDRESS \
|
||||
SSH_AUTH_SOCK \
|
||||
XDG_CURRENT_DESKTOP \
|
||||
XDG_SESSION_DESKTOP \
|
||||
XDG_SESSION_TYPE \
|
||||
SWAYSOCK >/dev/null 2>&1 || true
|
||||
Reference in New Issue
Block a user