#!/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; }