Compare commits

..

No commits in common. "ec8467cdd445e5580ff78a4629bcc9e3847d0e91" and "2ca22810da2d11e06d69116edaf44e68855cf014" have entirely different histories.

3 changed files with 9 additions and 9 deletions

View file

@ -1599,11 +1599,11 @@
"nixpkgs": "nixpkgs_12" "nixpkgs": "nixpkgs_12"
}, },
"locked": { "locked": {
"lastModified": 1696162302, "lastModified": 1694957290,
"narHash": "sha256-inKE03O75RqzKBfrj37v8yl3s79wIl8I2ltNwFG0Oc4=", "narHash": "sha256-bRdKfGBn3N2H7bp5Pk5D9KXlCuVAcAYP8Z7cdAIRGPY=",
"owner": "natsukagami", "owner": "natsukagami",
"repo": "youmubot", "repo": "youmubot",
"rev": "a04fcca1d622651aee143f1646b78640e8561d49", "rev": "2a36b4942f46b0c0c6155042fc6d9b7ce3ceccf4",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -46,14 +46,14 @@
let let
scale = 1.5; scale = 1.5;
top_x = builtins.ceil (3840 / scale); top_x = builtins.ceil (3840 / scale);
top_y = 0; top_y = builtins.ceil (((2160 / scale) - 1080) / 2);
in in
with config.common.monitors; { with config.common.monitors; {
${home_4k.name} = { ${home_4k.name} = {
scale = toString scale; scale = toString scale;
position = "0 0"; position = "0 0";
}; };
${home_1440.name} = { ${home_1080.name} = {
position = "${toString top_x} ${toString top_y}"; position = "${toString top_x} ${toString top_y}";
}; };
}; };
@ -63,7 +63,7 @@
# For primary # For primary
(barWith { extraSettings = { output = [ home_4k.name ]; }; }) (barWith { extraSettings = { output = [ home_4k.name ]; }; })
# For secondary, hide mpd # For secondary, hide mpd
(barWith { showMedia = false; showConnectivity = false; extraSettings = { output = [ home_1440.name ]; }; }) (barWith { showMedia = false; showConnectivity = false; extraSettings = { output = [ home_1080.name ]; }; })
]; ];
# Yellow light! # Yellow light!

View file

@ -17,9 +17,9 @@ let
adaptive_sync = "on"; adaptive_sync = "on";
# render_bit_depth = "10"; # render_bit_depth = "10";
}; };
"home_1440" = { "home_1080" = {
name = "AOC Q27G2G3R3B VXJP6HA000442"; name = "AOC 24G2W1G4 ATNN21A005410";
mode = "2560x1440@165Hz"; mode = "1920x1080@144Hz";
adaptive_sync = "on"; adaptive_sync = "on";
}; };