Add reboot to kodi option

main
Marko Korhonen 5 years ago
parent dfbdc85a28
commit 1c4b4796b3

@ -46,6 +46,8 @@ fman() {
alias :q='exit'
alias :wq='exit'
alias reboot-kodi='systemctl reboot --boot-loader-entry=kodi.conf'
# zbar output only data
alias zbarimg='zbarimg -q --raw'
alias zbarcam='zbarcam -q --raw'

@ -1 +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
fi

Loading…
Cancel
Save