This website requires JavaScript.
Explore
Help
Sign In
sanchayanmaity
/
dotfiles
Watch
1
Star
0
Fork
You've already forked dotfiles
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
e541b2d745
dotfiles
/
fish
/
.config
/
fish
/
conf.d
/
sway.fish
4 lines
96 B
Fish
Raw
Normal View
History
Unescape
Escape
fish: Start sway if running from tty1 sway seems to not start at all when using lightdm to login. We disabled lightdm and now just use the login shell to start sway. sway never recommended login managers so this was long due anyways. See https://github.com/swaywm/sway/wiki#login-managers.
2021-10-22 09:45:14 +02:00
# If running from tty1 start sway
fish: Refactor fish shell configuration - Drop starship. This also helps us to get rid of ttf-font-nerd install which is a dependency of starship. - Source fnm env only once on login. This makes fish shell/terminal load much much faster. Add an alias to invoke fnm use easily. - Set path or environment variables only when required path or binary exists. - Introduce a function to profile fish easily. - Borrow the fish prompt logic from Alexis King's configuration. - Factor out key binding related settings. - Make su launch fish. Prompt and other ideas for clean up taken from https://github.com/lexi-lambda/dotfiles/tree/master/fish
2021-12-27 07:27:49 +01:00
set
--local
TTY1
(
tty
)
[
"
$TTY1
"
=
"/dev/tty1"
]
&&
exec
sway