Pour démarrer sway, ainsi qu’un agent ssh.
if status is-interactive
# Commands to run in interactive sessions can go here
#if [ -z "{$WAYLAND_DISPLAY}" ] && [ "{$XDG_VTNR}" -eq 1 ];
# exec sway
if not set -q "SSH_AGENT_PID"
eval (ssh-agent -t 3600 -c)
end
if not set -q "WAYLAND_DISPLAY"; and test "$XDG_VTNR" = 1
exec sway
end
end
Base16 invite à cette méthode, mais c’est semble t-il tortueux :
# https://github.com/chriskempson/base16-shell
set BASE16_SHELL "$HOME/.config/base16-shell/"
source "$BASE16_SHELL/profile_helper.fish"
Le thème est parfois restauré lorsqu’une appli réinitialise ses couleurs :
Il est conseillé de faire plus simple, comme ici :
Environments : Console applications, Curseurs de souris, dmenu, fish, Gnome 3 minimal, gtk, installation minimale, Installation minimale de Cinnamon, Personnaliser, QT, Seats, Sway, Wayland, Window Managers, X autologin