feat: switch to fish as an interactive shell
Now that it is written in Rust I am interested!
This commit is contained in:
parent
a7195317a1
commit
615cf82b52
5 changed files with 115 additions and 137 deletions
|
@ -129,11 +129,11 @@ in
|
|||
# PDF reader
|
||||
zathura.enable = true;
|
||||
# Auto start sway
|
||||
zsh.loginExtra =
|
||||
lib.optionalString cfg.sway.autostart # sh
|
||||
fish.loginShellInit =
|
||||
lib.optionalString cfg.sway.autostart # fish
|
||||
''
|
||||
# Start Sway on login to TTY 1
|
||||
if [ "$TTY" = /dev/tty1 ]; then
|
||||
if [ $TTY = /dev/tty1 ]; then
|
||||
exec sway
|
||||
fi
|
||||
'';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue