diff --git a/contrib/sway.cfg b/contrib/sway.cfg new file mode 100644 index 0000000..8e9293d --- /dev/null +++ b/contrib/sway.cfg @@ -0,0 +1,12 @@ +# Prevent window resizing when we open the player apps +workspace_layout stacking + +# Hide the window titlebar +default_border none +default_floating_border none +font pango:monospace 0 +titlebar_padding 1 +titlebar_border_thickness 0 + +# Start microkodi +exec bash /start-microkodi.sh \ No newline at end of file diff --git a/start-microkodi.sh b/start-microkodi.sh new file mode 100755 index 0000000..f98c1f3 --- /dev/null +++ b/start-microkodi.sh @@ -0,0 +1,4 @@ +#!/bin/bash +cd `dirname $0` +source .venv/bin/activate +python3 microkodi/main.py -c ./config.json \ No newline at end of file