fixed monitor position

This commit is contained in:
Nickiel12 2023-10-23 20:11:02 -07:00
parent e1ca37ce27
commit 346fe4bd31

View file

@ -1,4 +1,4 @@
{config, pkgs, ...}: {config, pkgs, osConfig, ...}:
let let
@ -21,6 +21,15 @@ in
# Whether to enable patching wlroots for better Nvidia support # Whether to enable patching wlroots for better Nvidia support
enableNvidiaPatches = true; enableNvidiaPatches = true;
extraConfig = if (osConfig.networking.hostName == "NicksNixDesktop") then
''
monitor=DP-2, 2560x1440@144, 1920x0, 1
monitor=DP-3, 1920x1080@60, 0x360,1
''
else ''
'';
settings = { settings = {
exec-once = [ exec-once = [
"${pkgs.swww}/bin/swww init & sleep 0.5 & ${pkgs.swww}/bin/swww /home/nixolas/Downloads/RecountERD.png" "${pkgs.swww}/bin/swww init & sleep 0.5 & ${pkgs.swww}/bin/swww /home/nixolas/Downloads/RecountERD.png"
@ -42,6 +51,9 @@ in
bind = [ bind = [
"$mod, RETURN, exec, wezterm start --always-new-process" "$mod, RETURN, exec, wezterm start --always-new-process"
"$mod, r, exec, rofi -show run window"
"$mod, q, killactive"
"$mod_SHIFT, p, exit"
# "$mod, Q, exec, firefox" # "$mod, Q, exec, firefox"
]; ];
}; };