feat: add Sway backend

This commit is contained in:
Maksim Totmin
2026-06-22 21:36:21 +07:00
parent cc1137608c
commit b24da07b6e
3 changed files with 622 additions and 3 deletions
+2 -1
View File
@@ -1,7 +1,7 @@
# monitor-lets-go example configuration
# Copy to ~/.config/monitor-lets-go/config.yaml and adjust for your hardware.
# Backend selection: "auto" (recommended), "hyprland", or "sway" (future).
# Backend selection: "auto" (recommended), "hyprland", or "sway".
backend: auto
# Quiet period after the last hotplug event before re-evaluating.
@@ -19,6 +19,7 @@ restore_on_exit: true
# Hyprland supports:
# output_path — path to the generated monitor config file
# (default: ~/.config/hypr/monitors.conf)
# Sway supports no backend-specific options (uses swaymsg commands directly).
# backend_config:
# output_path: ~/.config/hypr/custom-monitors.conf