feat(hyprland): generate Lua monitor config instead of hyprlang
Write hl.monitor({...}) calls to ~/.config/hypr/monitors.lua (loaded via
require("monitors") in hyprland.lua) instead of monitor= lines in
monitors.conf. Prepare now strips hl.monitor lines with disabled = true,
and generateConf omits mode/position so Hyprland uses its defaults.
Update README and example config to match.
This commit is contained in:
@@ -18,10 +18,10 @@ restore_on_exit: true
|
||||
# Backend-specific options. Keys depend on the selected backend.
|
||||
# Hyprland supports:
|
||||
# output_path — path to the generated monitor config file
|
||||
# (default: ~/.config/hypr/monitors.conf)
|
||||
# (default: ~/.config/hypr/monitors.lua)
|
||||
# Sway supports no backend-specific options (uses swaymsg commands directly).
|
||||
# backend_config:
|
||||
# output_path: ~/.config/hypr/custom-monitors.conf
|
||||
# output_path: ~/.config/hypr/custom-monitors.lua
|
||||
|
||||
# External monitors that trigger docked mode.
|
||||
# Plain name: matches the connector name (e.g. DP-1, HDMI-A-1).
|
||||
|
||||
Reference in New Issue
Block a user