flake: Synchronize upstream inputs for flake and fix niri config

This commit is contained in:
ulic-youthlic 2025-06-20 03:38:56 +08:00
parent eae222883f
commit e629204c18
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
4 changed files with 201 additions and 183 deletions

View file

@ -5,34 +5,40 @@ in {
extraConfig = let
output = node "output";
in [
(output "DP-3" [
(leaf "mode" "2560x1440@169.900")
(leaf "scale" 1.0)
(leaf "position" {
x = 0;
y = 0;
})
(leaf "transform" "normal")
(output ["DP-3"] [
(leaf "mode" ["2560x1440@169.900"])
(leaf "scale" [1.0])
(leaf "position" [
{
x = 0;
y = 0;
}
])
(leaf "transform" ["normal"])
(flag "focus-at-startup")
])
(output "DP-1" [
(leaf "mode" "2560x1440@169.900")
(leaf "scale" 1.0)
(leaf "position" {
x = 0;
y = 0;
})
(leaf "transform" "normal")
(output ["DP-1"] [
(leaf "mode" ["2560x1440@169.900"])
(leaf "scale" [1.0])
(leaf "position" [
{
x = 0;
y = 0;
}
])
(leaf "transform" ["normal"])
(flag "focus-at-startup")
])
(output "eDP-1" [
(leaf "mode" "2560x1440@165.003")
(leaf "scale" 1.5)
(leaf "position" {
x = 2560;
y = 0;
})
(leaf "transform" "normal")
(output ["eDP-1"] [
(leaf "mode" ["2560x1440@165.003"])
(leaf "scale" [1.5])
(leaf "position" [
{
x = 2560;
y = 0;
}
])
(leaf "transform" ["normal"])
])
];
};