feat: switch to fish as an interactive shell
Now that it is written in Rust I am interested!
This commit is contained in:
parent
6bf3851d5a
commit
cd4fb19335
6 changed files with 117 additions and 139 deletions
|
@ -129,13 +129,13 @@ 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 test "$(tty)" = /dev/tty1
|
||||
exec sway
|
||||
fi
|
||||
end
|
||||
'';
|
||||
};
|
||||
services = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue