#!/data/data/com.termux/files/usr/bin/bash

# TODO Plasma 7: Drop aurorae.knsrc, use knsrc file provided by KWin.

if [ -f "/data/data/com.termux/files/usr/lib/libexec/kwin-applywindowdecoration" ]; then
    "/data/data/com.termux/files/usr/lib/libexec/kwin-applywindowdecoration" "$@"
elif [ -f "/data/data/com.termux/files/usr/lib/libexec/kwin-applywindowdecoration-x11" ]; then
    "/data/data/com.termux/files/usr/lib/libexec/kwin-applywindowdecoration-x11" "$@"
else
    echo "Neither kwin_x11 nor kwin_wayland is installed"
    exit 1
fi
