* Install gliff by default Gliff is the Hyprland remote desktop over SSH. Ship it in the base package set for new installs, with a migration for existing ones. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * Show a bar indicator while a gliff remote session is active The machine being controlled should make it obvious that someone is on it. A first-party remote-session service watches Hyprland's screencast events, which gliff-server triggers through ext-image-copy-capture, and probes for the server process, picking up the ssh client address from its environment. The RemoteSession indicator in the default tray lights up in the urgent colour while a session runs, and a notification announces each session start and end. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * Address review of the remote session indicator Probe only the current user's gliff-server processes, forward refresh through the third-party service proxy so cloned indicator widgets can re-probe, exercise the Hyprland screencast event path in the service test with a grim capture instead of calling refresh by hand, and describe the indicator as status only in the manual. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * Drop the remote session notifications The bar indicator is the signal; a toast on every connect and disconnect is noise on top of it. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * Tighten remote session detection after review Hyprland reports a screencast stopped as soon as frames pause for half a second and says nothing more when the server later exits, so poll every two seconds while a session is active instead of trusting a stop event. Match only the screencast event, not its screencastv2 twin, and debounce the burst around one transition so it costs one probe. Move the probe into its own script that the service and the test both run, poll for state in the service test instead of fixed delays, and drop the unused session count. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> --------- Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
84 lines
2.2 KiB
JSON
84 lines
2.2 KiB
JSON
{
|
|
"schemaVersion": 1,
|
|
"id": "omarchy.indicators",
|
|
"name": "Indicators",
|
|
"version": "1.0.0",
|
|
"author": "Omarchy",
|
|
"description": "Manual state indicators",
|
|
"kinds": [
|
|
"bar-widget"
|
|
],
|
|
"entryPoints": {
|
|
"barWidget": "Indicators.qml"
|
|
},
|
|
"barWidget": {
|
|
"displayName": "Indicators",
|
|
"description": "Manual state indicators",
|
|
"category": "Status",
|
|
"allowMultiple": true,
|
|
"schema": [
|
|
{
|
|
"key": "items",
|
|
"type": "multiselect",
|
|
"label": "Indicators",
|
|
"description": "Choose which indicators this widget instance should show. Leave empty to show all indicators.",
|
|
"noSelectionText": "All indicators",
|
|
"placeholderText": "Search indicators...",
|
|
"emptyText": "No indicators",
|
|
"options": [
|
|
{
|
|
"value": "PasswordlessSudo",
|
|
"label": "Passwordless sudo",
|
|
"description": "Warning while passwordless root access is enabled"
|
|
},
|
|
{
|
|
"value": "ScreenRecording",
|
|
"label": "Screen recording",
|
|
"description": "GPU screen recorder status"
|
|
},
|
|
{
|
|
"value": "RemoteSession",
|
|
"label": "Remote session",
|
|
"description": "Warning while someone is connected through gliff"
|
|
},
|
|
{
|
|
"value": "Reminder",
|
|
"label": "Reminder",
|
|
"description": "Queued reminder status"
|
|
},
|
|
{
|
|
"value": "NightLight",
|
|
"label": "Night light",
|
|
"description": "Blue-light filter"
|
|
},
|
|
{
|
|
"value": "Dnd",
|
|
"label": "Do not disturb",
|
|
"description": "Notification silencing"
|
|
},
|
|
{
|
|
"value": "StayAwake",
|
|
"label": "Stay awake",
|
|
"description": "Idle lock and screensaver override"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key": "alwaysShow",
|
|
"type": "boolean",
|
|
"label": "Always Show",
|
|
"description": "Show inactive indicators without waiting for hover.",
|
|
"defaultValue": false
|
|
}
|
|
]
|
|
},
|
|
"omarchy": {
|
|
"clonePaths": [
|
|
{
|
|
"source": "../indicators",
|
|
"target": "indicators"
|
|
}
|
|
]
|
|
}
|
|
}
|