#! /usr/bin/python3
# nightpanel-toggle - flip the system-wide nightpanel theme on/off
#
# Copyright 2025 Greg Felice
# SPDX-License-Identifier: GPL-3.0-or-later
#
# Minimal launcher: deliberately NO gi / gresource. The toggle drives the
# theming orchestrator, which is a plain file-editing path (adapters/renderers/
# palette import no gi). Mirrors nightpanel.in's /usr/lib/python3/dist-packages/ insert so the
# installed nightpanel package imports regardless of prefix.

import sys

sys.path.insert(1, '/usr/lib/python3/dist-packages/')

from nightpanel import toggle

if __name__ == '__main__':
    sys.exit(toggle.main())
