Add wayland config for sputnik

This commit is contained in:
2022-10-14 12:39:14 +02:00
parent 841328257d
commit 1850aa1e8c
2 changed files with 54 additions and 3 deletions

View File

@ -2,6 +2,7 @@ set -x PATH $HOME/.local/bin $HOME/.cargo/bin $PATH
set -x GPG_TTY (tty)
set -x BROWSER firefox
set -x EDITOR nvim
set -x MOZ_ENABLE_WAYLAND 1
{% if hostname == "vostok" %}
set -x QT_STYLE_OVERRIDE Oxygen
@ -53,7 +54,14 @@ zoxide init fish | source
starship init fish | source
{% if hostname == "buran" %}
{% if hostname == "sputnik" %}
# start sway if logging in on tty 1
if status is-login
if test $XDG_SESSION_TYPE = "tty" -a $XDG_VTNR = "1"
exec sway
end
end
{% elif hostname == "buran" %}
# start sway if logging in on tty 1
if status is-login
if test $XDG_SESSION_TYPE = "tty" -a $XDG_VTNR = "1"