From 03f143cdcb41303faaadcc4fa3775e3315c483e6 Mon Sep 17 00:00:00 2001 From: "Alexander \"PapaTutuWawa" Date: Sun, 12 Jan 2025 01:24:22 +0100 Subject: [PATCH] Run via sway --- contrib/sway.cfg | 12 ++++++++++++ start-microkodi.sh | 4 ++++ 2 files changed, 16 insertions(+) create mode 100644 contrib/sway.cfg create mode 100755 start-microkodi.sh 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