From f9798c3dae6f5f9d4998042620ef3d16a37d8f96 Mon Sep 17 00:00:00 2001 From: Marko Korhonen Date: Sun, 10 Apr 2022 14:21:26 +0300 Subject: [PATCH] Add moria gamescope/steam autostart zprofile --- config.yaml | 2 ++ home/.zprofile | 8 +++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/config.yaml b/config.yaml index ce378fd4..0a074a16 100644 --- a/config.yaml +++ b/config.yaml @@ -257,6 +257,8 @@ profiles: include: - terminal - pacman + dotfiles: + - f_zprofile Gondor: include: - terminal diff --git a/home/.zprofile b/home/.zprofile index 52c6cb96..1309b84b 100644 --- a/home/.zprofile +++ b/home/.zprofile @@ -1 +1,7 @@ -[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && sway-run +if [[ -z $DISPLAY && $XDG_VTNR -eq 1 ]]; then + LIBSEAT_BACKEND=logind gamescope \ + -e -f -U \ + -W 3840 -H 2160 \ + -w 1920 -h 1080 \ + -- steam -gamepadui -steamos +fi