Skip to content

Instantly share code, notes, and snippets.

@cole-h

cole-h/stuff.fish Secret

Created May 4, 2020
Embed
What would you like to do?
if [ (tty) = "/dev/tty1" ]
if [ (systemctl --user is-active sway.service) != "active" ]
systemctl --user unset-environment SWAYSOCK I3SOCK WAYLAND_DISPLAY DISPLAY \
IN_NIX_SHELL __HM_SESS_VARS_SOURCED GPG_TTY
systemctl --user import-environment
exec systemctl --user --wait start sway.service
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment