-
-
Save cole-h/ab2dc78c7be2d4907fdf6b66d1bd752f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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