mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-11-29 02:39:13 +00:00
The card was drawn rounded but three square things sat behind it: the acrylic backdrop, which the window effect paints edge to edge and which DWM's corner preference does not clip; the DWM frame line; and the DWM drop shadow, whose inner edge is the window rectangle, so it met itself at a right angle exactly where the card curved away. The result was a rounded card with square corners showing through, worst at the top left and along the bottom. The window now paints nothing at all. The acrylic effect is gone (at 94 percent surface opacity it was contributing a tint, not a blur, and the surface is simply opaque now), DWM is told not to round and not to draw a border, and the OS shadow is off. In its place the window is 12 px larger than the card on every side and the page paints its own drop shadow into that gutter, so the shadow follows the card radius. The gutter doubles as the inset the card kept from the work-area edge, so the card lands where it always did. Verified at 10x on all four corners in both themes: one antialiased arc, the desktop behind it, and the shadow curving with it.
60 lines
1.7 KiB
JSON
60 lines
1.7 KiB
JSON
{
|
|
"$schema": "https://schema.tauri.app/config/2",
|
|
"productName": "CodeBurn Menubar",
|
|
"version": "0.9.23",
|
|
"identifier": "org.agentseal.codeburn-menubar",
|
|
"build": {
|
|
"beforeDevCommand": "npm run dev",
|
|
"devUrl": "http://localhost:1420",
|
|
"beforeBuildCommand": "npm run build",
|
|
"frontendDist": "../dist"
|
|
},
|
|
"app": {
|
|
"windows": [
|
|
{
|
|
"label": "popover",
|
|
"title": "CodeBurn",
|
|
"width": 384,
|
|
"height": 684,
|
|
"decorations": false,
|
|
"transparent": true,
|
|
"resizable": false,
|
|
"alwaysOnTop": true,
|
|
"skipTaskbar": true,
|
|
"visible": false,
|
|
"focus": false,
|
|
"shadow": false
|
|
}
|
|
],
|
|
"security": {
|
|
"csp": "default-src 'self'; img-src 'self' data:; style-src 'self' 'unsafe-inline'; font-src 'self' data:; connect-src 'self' ipc: https://api.frankfurter.app"
|
|
},
|
|
"trayIcon": {
|
|
"id": "codeburn-tray",
|
|
"iconPath": "icons/tray.png",
|
|
"iconAsTemplate": false,
|
|
"tooltip": "CodeBurn"
|
|
}
|
|
},
|
|
"bundle": {
|
|
"active": true,
|
|
"category": "Utility",
|
|
"shortDescription": "AI coding cost tracker",
|
|
"longDescription": "Shows today's AI coding spend in your system tray. Popover breaks down cost by activity, model, and provider across Claude Code, Cursor, Codex, and more.",
|
|
"publisher": "AgentSeal",
|
|
"homepage": "https://github.com/getagentseal/codeburn",
|
|
"targets": ["deb", "rpm", "appimage", "msi"],
|
|
"icon": [
|
|
"icons/32x32.png",
|
|
"icons/128x128.png",
|
|
"icons/128x128@2x.png",
|
|
"icons/icon.png",
|
|
"icons/icon.ico"
|
|
],
|
|
"linux": {
|
|
"deb": {
|
|
"depends": ["libwebkit2gtk-4.1-0", "libayatana-appindicator3-1"]
|
|
}
|
|
}
|
|
}
|
|
}
|