mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-05-20 00:57:09 +00:00
Ship a GJS extension in extensions/gnome-shell/codeburn@agentseal.org so GNOME users get the same panel-anchored popover Ubuntu's Quick Settings uses, rather than the floating window the Tauri tray is limited to through StatusNotifierItem. The extension lives inside gnome-shell as a PanelMenu.Button, so it has direct access to its own icon coordinates and can open a PopupMenu docked under it without any IPC or DBus plumbing. The tradeoff is it only works on GNOME 45+; the Tauri app in desktop/ stays the cross-platform option for KDE, Unity, wlroots, and Windows users. Data flow: the extension shells out to codeburn status --format menubar-json every 60 seconds, parses the payload, and renders a header, top 5 activities, and optimize findings count. Refresh and Open Full Report actions live in the popup menu; the Open Full Report action spawns gnome-terminal with the codeburn report TUI.
35 lines
501 B
CSS
35 lines
501 B
CSS
.codeburn-panel {
|
|
spacing: 4px;
|
|
}
|
|
|
|
.codeburn-flame {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.codeburn-label {
|
|
font-weight: 500;
|
|
padding-left: 2px;
|
|
padding-right: 2px;
|
|
}
|
|
|
|
.codeburn-header {
|
|
font-weight: 600;
|
|
color: #ff8c42;
|
|
}
|
|
|
|
.codeburn-activity {
|
|
font-family: monospace;
|
|
font-size: 11px;
|
|
padding-left: 8px;
|
|
}
|
|
|
|
.codeburn-empty {
|
|
font-style: italic;
|
|
color: rgba(255, 255, 255, 0.5);
|
|
padding-left: 8px;
|
|
}
|
|
|
|
.codeburn-findings {
|
|
color: #ff8c42;
|
|
font-weight: 500;
|
|
}
|