dotfiles/home/.zprofile

6 lines
200 B
Text
Raw Normal View History

2020-03-30 18:21:00 +03:00
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
2020-03-30 18:21:00 +03:00
fi