Compare commits

...

2 commits

Author SHA1 Message Date
Natsu Kagami ec8467cdd4
Update youmubot 2023-10-01 14:24:37 +02:00
Natsu Kagami c37bd06e37
I got a new monitor 2023-10-01 14:24:37 +02:00
3 changed files with 9 additions and 9 deletions

View file

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

View file

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

View file

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