Move environment vars to sway start script
This commit is contained in:
parent
5586cbc9ef
commit
a5ae6ab883
3 changed files with 39 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
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 ]] && sway > /dev/null 2>&1
|
||||
[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && $HOME/Scripts/sway-run.sh > /dev/null 2>&1
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue