From d872db56080b368eb6720503547f13f4d4514396 Mon Sep 17 00:00:00 2001 From: zerf58 Date: Mon, 1 Apr 2024 20:27:47 -0700 Subject: [PATCH] specify kodi actions --- buttons.sh | 9 +++++++++ xfce4-keyboard-shortcuts.xml | 1 + 2 files changed, 10 insertions(+) diff --git a/buttons.sh b/buttons.sh index 3d847e0..5e30d7b 100755 --- a/buttons.sh +++ b/buttons.sh @@ -104,6 +104,9 @@ firefox_pbs(){ Kodi(){ + play(){ + kodi-send --action="PlayPause" + } split_up(){ xdotool_helper "key p" } @@ -116,6 +119,12 @@ Kodi(){ refresh(){ kodi-send --action="UpdateLibrary(video)" } + notification(){ + kodi-send --action="ShowSubtitles" + } + settings(){ + sleep .1 + } } diff --git a/xfce4-keyboard-shortcuts.xml b/xfce4-keyboard-shortcuts.xml index 6e1b29f..ace3b0f 100644 --- a/xfce4-keyboard-shortcuts.xml +++ b/xfce4-keyboard-shortcuts.xml @@ -55,6 +55,7 @@ +