monitors added to hypr config
This commit is contained in:
parent
444186a0df
commit
2c5692e76b
4 changed files with 54 additions and 1 deletions
|
|
@ -126,6 +126,10 @@ in {
|
|||
workspace_swipe = ${trivial.boolToString cfg.config.gestures.workspaceSwipe}
|
||||
}
|
||||
|
||||
${builtins.concatStringsSep "\n" (map (mon: "monitor = ${mon.output}, ${mon.resolution}@${mon.refreshRate}, ${toString mon.x}x${toString mon.y}, ${strings.floatToString mon.scale}, transform, ${toString mon.transform}") cfg.config.monitors.displays)}
|
||||
|
||||
${if cfg.config.monitors.defaultMonitor then "monitor = ,preferred, auto, auto" else ""}
|
||||
|
||||
${builtins.concatStringsSep "\n" (map (ws: "workspace = " + ws) cfg.config.workspaces)}
|
||||
|
||||
${builtins.concatStringsSep "\n" (map (wr: "windowrule = " + replaceStrings ["%"] ["%%"] wr) cfg.config.windowrules)}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue