Add reboot to kodi option
This commit is contained in:
parent
7ad3fa007d
commit
e0629e3676
2 changed files with 7 additions and 1 deletions
|
@ -46,6 +46,8 @@ fman() {
|
||||||
alias :q='exit'
|
alias :q='exit'
|
||||||
alias :wq='exit'
|
alias :wq='exit'
|
||||||
|
|
||||||
|
alias reboot-kodi='systemctl reboot --boot-loader-entry=kodi.conf'
|
||||||
|
|
||||||
# zbar output only data
|
# zbar output only data
|
||||||
alias zbarimg='zbarimg -q --raw'
|
alias zbarimg='zbarimg -q --raw'
|
||||||
alias zbarcam='zbarcam -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
|
[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && sway > /dev/null 2>&1
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in a new issue