From 57574537c845cd755d5292d8cc23979e2dd74314 Mon Sep 17 00:00:00 2001 From: Marko Korhonen Date: Sun, 8 Aug 2021 15:41:23 +0300 Subject: [PATCH] Fix zprofile sway start --- home/.zprofile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/home/.zprofile b/home/.zprofile index ed8b10a..52c6cb9 100644 --- a/home/.zprofile +++ b/home/.zprofile @@ -1,5 +1 @@ -if cat /proc/cmdline | grep -q "video=eDP-1:d"; then - [[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && kodi -else - [[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && $HOME/.config/sway/scripts/run.sh > /dev/null 2>&1 -fi +[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && sway-run