Modernize feresectl and add bounded IPC event streaming

This commit is contained in:
Samuel Onoja committed 2026-10-07 07:39:27 +01:00
1 parent cfdd2a148a
commit 97026a0db7
39 files changed
+1671 -254

No files matched your search

+1 -1
View File
@@ -209,7 +209,7 @@ lock-screen {
// idle-inhibit { fullscreen-playback #false; }
// window-rule app-id="org.example.Presentation" idle-inhibit="visible"
// Find display names with feresectl get-outputs, then adjust and uncomment.
// Find display names with feresectl outputs, then adjust and uncomment.
// output-profile "docked" {
// output "HDMI-A-1" scale=1.5 { position 0 0; }
// output "eDP-1" scale=1.5 { position 2560 0; }
+1 -1
View File
@@ -44,7 +44,7 @@ elif [[ $mode == full ]]; then
# Never fall back to an all-monitor capture when IPC is unavailable.
# This is the only mode that needs the output list; the editor is sized
# from the captured image instead.
geometry=$(feresectl get-outputs | python3 -c '
geometry=$(feresectl -j outputs | python3 -c '
import json, sys
outputs = [output for output in json.load(sys.stdin) if output.get("enabled")]
focused = [output for output in outputs if output.get("focused")]