{
    "tailapp": 2,
    "manifest": {
        "format": 2,
        "app_id": "device-status",
        "name": "Device Status",
        "version": 1,
        "schema": "tailapps/v0",
        "exported_at": 1795564588,
        "from": "gallery",
        "connections": [],
        "files": {
            "app.json": "c992c866804e51fe4c3c8b50e710c163e5fc764abb68d4c40cf015bf5514ecd9"
        },
        "signature": "OYXqUtILH+7FD2GbkLby63e7gsvL2uY8AY6UKW9ISCijLwWmVuoqTIuDminvc39y3seUaJ08kHbPOLTBS+u3Aw==",
        "key_id": "gallery-1"
    },
    "app": {
        "schema": "tailapps/v0",
        "app": "device-status",
        "name": "Device Status",
        "description": "This device's battery, connection and basics at a glance, on the Mac and iPhone alike, with no script.",
        "icon": "iphone.gen3",
        "version": 1,
        "permissions": [
            "power.read",
            "network.read"
        ],
        "sources": {
            "power": {
                "system": "power"
            },
            "net": {
                "system": "network"
            },
            "me": {
                "system": "device"
            }
        },
        "cards": [
            {
                "id": "main",
                "layout": {
                    "column": [
                        {
                            "row": [
                                {
                                    "stat": "{$power.battery | default:'\u2014'}%",
                                    "label": "Battery",
                                    "tone": "$power.battery | tone:{bad:'<20', warn:'<40', else:'good'}"
                                },
                                {
                                    "spacer": true
                                },
                                {
                                    "stat": "$net.online | map:{true:'Online', else:'Offline'}",
                                    "label": "$net.interface | map:{wifi:'Wi-Fi', ethernet:'Cable', cellular:'Mobile data', else:'Connection'}",
                                    "tone": "$net.online | tone:{true:'good', else:'bad'}"
                                }
                            ],
                            "align": "start",
                            "when": "$power"
                        },
                        {
                            "progress": "$power.battery",
                            "max": 100,
                            "label": "$power.status | map:{charging:'Charging', plugged_in:'Plugged in', battery:'On battery'}",
                            "when": "$power.battery"
                        },
                        {
                            "column": [
                                {
                                    "cell": "$me.name",
                                    "subtitle": "{$me.os | map:{macos:'macOS', ios:'iOS'}} {$me.os_version}",
                                    "leading": "$me.kind | map:{mac:'laptopcomputer', iphone:'iphone', ipad:'ipad', else:'desktopcomputer'}"
                                },
                                {
                                    "cell": "Time zone",
                                    "trailing": {
                                        "text": "$me.time_zone",
                                        "emphasis": "subtle"
                                    }
                                },
                                {
                                    "cell": "Appearance",
                                    "trailing": {
                                        "text": "$me.appearance | map:{dark:'Dark', light:'Light'}",
                                        "emphasis": "subtle"
                                    }
                                },
                                {
                                    "cell": "Low Power Mode",
                                    "trailing": {
                                        "badge": "$power.low_power | map:{true:'On', else:'Off'}",
                                        "tone": "$power.low_power | tone:{true:'warn', else:'neutral'}"
                                    }
                                }
                            ],
                            "style": "inset",
                            "when": "$me"
                        }
                    ],
                    "gap": "m"
                }
            }
        ],
        "views": {
            "menubar": {
                "icon": "battery.75percent",
                "label": "{$power.battery | default:'\u2014'}%",
                "label_tone": "$power.battery | tone:{bad:'<20', warn:'<40', else:'good'}",
                "card": "main"
            },
            "floating": {
                "card": "main",
                "width": "default"
            }
        }
    },
    "app_json": "{\n  \"schema\": \"tailapps/v0\",\n  \"app\": \"device-status\",\n  \"name\": \"Device Status\",\n  \"description\": \"This device's battery, connection and basics at a glance, on the Mac and iPhone alike, with no script.\",\n  \"icon\": \"iphone.gen3\",\n  \"version\": 1,\n  \"permissions\": [\"power.read\", \"network.read\"],\n  \"sources\": {\n    \"power\": { \"system\": \"power\" },\n    \"net\": { \"system\": \"network\" },\n    \"me\": { \"system\": \"device\" }\n  },\n  \"cards\": [\n    {\n      \"id\": \"main\",\n      \"layout\": {\n        \"column\": [\n          {\n            \"row\": [\n              { \"stat\": \"{$power.battery | default:'\u2014'}%\", \"label\": \"Battery\", \"tone\": \"$power.battery | tone:{bad:'<20', warn:'<40', else:'good'}\" },\n              { \"spacer\": true },\n              { \"stat\": \"$net.online | map:{true:'Online', else:'Offline'}\", \"label\": \"$net.interface | map:{wifi:'Wi-Fi', ethernet:'Cable', cellular:'Mobile data', else:'Connection'}\", \"tone\": \"$net.online | tone:{true:'good', else:'bad'}\" }\n            ],\n            \"align\": \"start\",\n            \"when\": \"$power\"\n          },\n          {\n            \"progress\": \"$power.battery\",\n            \"max\": 100,\n            \"label\": \"$power.status | map:{charging:'Charging', plugged_in:'Plugged in', battery:'On battery'}\",\n            \"when\": \"$power.battery\"\n          },\n          {\n            \"column\": [\n              { \"cell\": \"$me.name\", \"subtitle\": \"{$me.os | map:{macos:'macOS', ios:'iOS'}} {$me.os_version}\", \"leading\": \"$me.kind | map:{mac:'laptopcomputer', iphone:'iphone', ipad:'ipad', else:'desktopcomputer'}\" },\n              { \"cell\": \"Time zone\", \"trailing\": { \"text\": \"$me.time_zone\", \"emphasis\": \"subtle\" } },\n              { \"cell\": \"Appearance\", \"trailing\": { \"text\": \"$me.appearance | map:{dark:'Dark', light:'Light'}\", \"emphasis\": \"subtle\" } },\n              { \"cell\": \"Low Power Mode\", \"trailing\": { \"badge\": \"$power.low_power | map:{true:'On', else:'Off'}\", \"tone\": \"$power.low_power | tone:{true:'warn', else:'neutral'}\" } }\n            ],\n            \"style\": \"inset\",\n            \"when\": \"$me\"\n          }\n        ],\n        \"gap\": \"m\"\n      }\n    }\n  ],\n  \"views\": {\n    \"menubar\": {\n      \"icon\": \"battery.75percent\",\n      \"label\": \"{$power.battery | default:'\u2014'}%\",\n      \"label_tone\": \"$power.battery | tone:{bad:'<20', warn:'<40', else:'good'}\",\n      \"card\": \"main\"\n    },\n    \"floating\": { \"card\": \"main\", \"width\": \"default\" }\n  }\n}\n",
    "files": []
}