summaryrefslogtreecommitdiffstats
path: root/.local/bin/htpc-launcher
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/htpc-launcher')
-rwxr-xr-x.local/bin/htpc-launcher6
1 files changed, 6 insertions, 0 deletions
diff --git a/.local/bin/htpc-launcher b/.local/bin/htpc-launcher
new file mode 100755
index 0000000..077cce4
--- /dev/null
+++ b/.local/bin/htpc-launcher
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+# Workaround for client side controls in Kodi issue
+# https://github.com/xbmc/xbmc/issues/19491#issuecomment-821128415
+
+{ kodi & sleep 1s; swaymsg '[app_id="Kodi"]' fullscreen toggle; sleep 1s ; swaymsg '[app_id="Kodi"]' fullscreen toggle; fg; }