more PJ functionality in kodi
This commit is contained in:
parent
1fb6b307ea
commit
63b24f92fa
3 changed files with 19 additions and 0 deletions
|
@ -107,6 +107,12 @@ Kodi(){
|
||||||
play(){
|
play(){
|
||||||
kodi-send --action="PlayPause"
|
kodi-send --action="PlayPause"
|
||||||
}
|
}
|
||||||
|
forward(){
|
||||||
|
kodi-send --action="SkipNext"
|
||||||
|
}
|
||||||
|
back(){
|
||||||
|
kodi-send --action="SkipPrevious"
|
||||||
|
}
|
||||||
split_up(){
|
split_up(){
|
||||||
xdotool_helper "key p"
|
xdotool_helper "key p"
|
||||||
}
|
}
|
||||||
|
|
11
keyboard.xml
11
keyboard.xml
|
@ -20,5 +20,16 @@
|
||||||
<escape>ParentDir</escape>
|
<escape>ParentDir</escape>
|
||||||
</keyboard>
|
</keyboard>
|
||||||
</Music>
|
</Music>
|
||||||
|
<Visualisation>
|
||||||
|
<keyboard>
|
||||||
|
<escape>Stop</escape>
|
||||||
|
<p>Fullscreen</p>
|
||||||
|
</keyboard>
|
||||||
|
</Visualisation>
|
||||||
|
<MusicMenu>
|
||||||
|
<keyboard>
|
||||||
|
<play>Play</play>
|
||||||
|
</keyboard>
|
||||||
|
<MusicMenu>
|
||||||
|
|
||||||
</keymap>
|
</keymap>
|
||||||
|
|
|
@ -56,6 +56,8 @@
|
||||||
<property name="<Primary><Alt>Delete" type="string" value="sh /home/htpc/scripts/PJ/buttons.sh task_manager"/>
|
<property name="<Primary><Alt>Delete" type="string" value="sh /home/htpc/scripts/PJ/buttons.sh task_manager"/>
|
||||||
<property name="<Alt>Up" type="string" value="sh /home/htpc/scripts/PJ/buttons.sh move_up"/>
|
<property name="<Alt>Up" type="string" value="sh /home/htpc/scripts/PJ/buttons.sh move_up"/>
|
||||||
<property name="AudioPlay" type="string" value="sh /home/htpc/scripts/PJ/buttons.sh play"/>
|
<property name="AudioPlay" type="string" value="sh /home/htpc/scripts/PJ/buttons.sh play"/>
|
||||||
|
<property name="<Alt>Right" type="string" value="sh /home/htpc/scripts/PJ/buttons.sh forward"/>
|
||||||
|
<property name="<Alt>Left" type="string" value="sh /home/htpc/scripts/PJ/buttons.sh back"/>
|
||||||
</property>
|
</property>
|
||||||
</property>
|
</property>
|
||||||
<property name="xfwm4" type="empty">
|
<property name="xfwm4" type="empty">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue