Modernize feresectl and add bounded IPC event streaming
This commit is contained in:
1 parent
cfdd2a148a
commit
97026a0db7
39 files changed
+1671
-254
No files matched your search
@@ -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; }
|
||||
|
||||
@@ -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")]
|
||||
|
||||
Reference in new issue
Block a user