pragma Singleton

import Quickshell
import Quickshell.Io

Singleton {
    id: root

    // readonly property var svgs: ({
    //         micOff: "../../../assets/bar/V2/micOff.svg",
    //         mic: "../../../assets/bar/V2/mic.svg",
    //         speaker: "../../../assets/bar/V2/speaker.svg",
    //         speakerOff: "../../../assets/bar/V2/speakerOff.svg"
    //     })
    // TODO replace all these icons with svg's
    readonly property var battery: ({
            "0": "󰂎",
            "1": "󰁺",
            "2": "󰁻",
            "3": "󰁼",
            "4": "󰁾",
            "5": "󰁾",
            "6": "󰁿",
            "7": "󰂀",
            "8": "󰂁",
            "9": "󰂂",
            "10": "󰁹",
            charging: ({
                    "1": "󰢜",
                    "2": "󰂆",
                    "3": "󰂇",
                    "4": "󰂈",
                    "5": "󰢝",
                    "6": "󰂉",
                    "7": "󰢞",
                    "8": "󰂊",
                    "9": "󰂋",
                    "10": "󰂅"
                })
        })

    readonly property var audioIcons: ({
            microphone: "󰍬",
            microphoneMuted: "󰍭",
            speaker: "󰕾",
            speakerMuted: "󰖁"
        })

    // {class}: {icon}
    readonly property var appIcons: ({
            "vesktop": "",
            "steam": "",
            "org.telegram.desktop": "",
            "chromium": "",
            "dev.zed.Zed": "",
            "foot": "",
            "gamescope": "󰺵",
            "blender": "󰂫",
            "Spotify": "",
            "Unity": "",
            "fallback": "󰏩"
        })
}
