#!/usr/bin/sh

if [ "$#" -eq 0 ]; then
    exec gjs -m "/usr/share/hyprpanel/hyprpanel.js"
else
    exec astal -i hyprpanel "$*"
fi
