dotfiles icon indicating copy to clipboard operation
dotfiles copied to clipboard

tty1 auto-exec sway doesn't work

Open samhh opened this issue 2 years ago • 8 comments

Can workaround by switching to another tty and manually starting sway. Started I think yesterday or the day before.

samhh avatar Aug 22 '22 14:08 samhh

99b7512 is fine. Something since then has caused it.

samhh avatar Aug 22 '22 14:08 samhh

b3767a9 is also fine.

samhh avatar Aug 22 '22 14:08 samhh

51fd5bf all good.

samhh avatar Aug 22 '22 14:08 samhh

9b10e90 okay.

samhh avatar Aug 22 '22 14:08 samhh

The culprit: https://github.com/samhh/dotfiles/commit/cf47186f2f028a394c084cf377206ddb06a4f257

samhh avatar Aug 22 '22 14:08 samhh

https://github.com/samhh/dotfiles/commit/bfb2cec5e63f83b24eb361b669dcab5051b88981

Might just try to make the prompt more performant instead.

samhh avatar Aug 23 '22 11:08 samhh

Now it just doesn't auto-exec. :confused:

samhh avatar Aug 29 '22 15:08 samhh

Surprisingly not fixed by this: https://github.com/samhh/dotfiles/commit/63258b44dc87e2c6bdf51cd1e24fb8c662691f92

samhh avatar Sep 09 '22 13:09 samhh

environment.loginShellInit is run, however tty replies with not a tty, failing to tty1 check. I guess it's a "login shell" rather than an "interactive shell" (NB my terminology is probably wrong). The code here is placed into /etc/profile.

programs.fish.loginShellInit under Home Manager doesn't seem to run at all.

samhh avatar Jul 30 '23 16:07 samhh

This is me giving up: https://github.com/samhh/dotfiles/commit/e89bfb5b9686bf4e5eace3d22fefb67779326a55

samhh avatar Jul 30 '23 17:07 samhh