refactor
This commit is contained in:
parent
a31e08bd5f
commit
388924ed6e
16 changed files with 951 additions and 294 deletions
53
apps/kodi.sh
Normal file
53
apps/kodi.sh
Normal file
|
@ -0,0 +1,53 @@
|
|||
kodi(){
|
||||
|
||||
play(){
|
||||
kodi-send --action="PlayPause"
|
||||
}
|
||||
forward(){
|
||||
kodi-send --action="SkipNext"
|
||||
}
|
||||
back(){
|
||||
kodi-send --action="SkipPrevious"
|
||||
}
|
||||
split_up(){
|
||||
xdotool_helper "key p"
|
||||
}
|
||||
move_up(){
|
||||
xdotool_helper "key o"
|
||||
}
|
||||
search(){
|
||||
kodi-send --action="VideoLibrary.Search"
|
||||
}
|
||||
desktop(){
|
||||
kodi-send --action="PreviousMenu"
|
||||
}
|
||||
refresh(){
|
||||
kodi-send --action="UpdateLibrary(video)"
|
||||
}
|
||||
notification(){
|
||||
kodi-send --action="ShowSubtitles"
|
||||
}
|
||||
settings(){
|
||||
kodi-send --action="ActivateWindow(10123)"
|
||||
for i in {0..3}
|
||||
do
|
||||
kodi-send --action="Down"
|
||||
done
|
||||
kodi-send --action="Select"
|
||||
}
|
||||
fast_forward(){
|
||||
kodi-send --action="NextPreset"
|
||||
}
|
||||
rewind(){
|
||||
kodi-send --action="PreviousPreset"
|
||||
}
|
||||
split_right(){
|
||||
kodi-send --action="LockPreset"
|
||||
}
|
||||
file_explorer(){
|
||||
kodi-send --action="ActivateWindow(12901)"
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue