fish: Configure buran

- Launch sway on login to tty 1
- Set QT theme
This commit is contained in:
2022-08-23 15:29:20 +02:00
parent 30748f41b0
commit a8b0fed1a1

View File

@ -7,6 +7,10 @@ set -x EDITOR nvim
set -x QT_STYLE_OVERRIDE Oxygen set -x QT_STYLE_OVERRIDE Oxygen
{% end %} {% end %}
{% if hostname == "buran" %}
set -x QT_QPA_PLATFORMTHEME qt5ct
{% end %}
{% if username == "u0_a213" %} {% if username == "u0_a213" %}
set -x USER hulthe set -x USER hulthe
{% end %} {% end %}
@ -48,3 +52,12 @@ fish_ssh_agent
zoxide init fish | source zoxide init fish | source
starship init fish | source starship init fish | source
{% if hostname == "buran" %}
# 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
{% end %}