mirror of
https://github.com/nickolaj-jepsen/nixos.git
synced 2026-01-22 08:06:50 +01:00
fix(niri): focus primary monitor at startup
This commit is contained in:
parent
1e923f38d8
commit
4f3ef2e0da
1 changed files with 1 additions and 0 deletions
|
|
@ -306,6 +306,7 @@ in {
|
||||||
inherit (monitor.resolution) width height;
|
inherit (monitor.resolution) width height;
|
||||||
refresh = refreshRateFloat;
|
refresh = refreshRateFloat;
|
||||||
};
|
};
|
||||||
|
focus-at-startup = monitor.name == primaryMonitorName;
|
||||||
transform.rotation =
|
transform.rotation =
|
||||||
if (monitor.transform != null)
|
if (monitor.transform != null)
|
||||||
then monitor.transform * 90
|
then monitor.transform * 90
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue