From a8b0fed1a1376e21486f65c43cc3918df4e506ed Mon Sep 17 00:00:00 2001 From: Joakim Hulthe Date: Tue, 23 Aug 2022 15:29:20 +0200 Subject: [PATCH] fish: Configure buran - Launch sway on login to tty 1 - Set QT theme --- tree/.config/fish/config.fish.tpl | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/tree/.config/fish/config.fish.tpl b/tree/.config/fish/config.fish.tpl index 7bc305a..0fa958b 100644 --- a/tree/.config/fish/config.fish.tpl +++ b/tree/.config/fish/config.fish.tpl @@ -7,6 +7,10 @@ set -x EDITOR nvim set -x QT_STYLE_OVERRIDE Oxygen {% end %} +{% if hostname == "buran" %} +set -x QT_QPA_PLATFORMTHEME qt5ct +{% end %} + {% if username == "u0_a213" %} set -x USER hulthe {% end %} @@ -48,3 +52,12 @@ fish_ssh_agent zoxide 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 %}