Add reboot to kodi option

This commit is contained in:
Marko Korhonen 2020-03-30 18:21:00 +03:00
parent dfbdc85a28
commit 1c4b4796b3
2 changed files with 7 additions and 1 deletions

View file

@ -1 +1,5 @@
[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && sway > /dev/null 2>&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 ]] && sway > /dev/null 2>&1
fi