nishimiya: Generalise kanshi multihead

This commit is contained in:
PapaTutuWawa 2021-11-07 13:58:22 +01:00
parent 9612cc89de
commit b575108e53
3 changed files with 10 additions and 5 deletions

View File

@ -85,6 +85,7 @@
position = "0,0"; position = "0,0";
} }
]; ];
name = "homeMultihead"; name = "homeMultihead";
script = wallpaperScript; script = wallpaperScript;
}; };

View File

@ -62,13 +62,14 @@
position = "0,0"; position = "0,0";
} }
]; ];
name = "laptop"; name = "laptop";
script = wallpaperScript; script = wallpaperScript;
}; };
laptopHomeMultihead = mkProfile { laptopMultihead = mkProfile {
outputs = [ outputs = [
{ {
criteria = horizontal; criteria = "HDMI-A-1";
status = "enable"; status = "enable";
mode = "1920x1080"; mode = "1920x1080";
position = "-1920,0"; position = "-1920,0";
@ -81,10 +82,9 @@
} }
]; ];
name = "laptopHomeMultihead"; name = "laptopMultihead";
script = wallpaperScript; script = wallpaperScript;
}; };
# TODO: Generic multihead
}; };
}; };
swaync.enable = true; swaync.enable = true;
@ -114,6 +114,10 @@
}; };
}; };
environment.systemPackages = with pkgs; [
ansible
];
programs = { programs = {
gnupg.agent.pinentryFlavor = "qt"; gnupg.agent.pinentryFlavor = "qt";
}; };

View File

@ -24,7 +24,7 @@
setbg "DP-2" $horiz setbg "DP-2" $horiz
setbg "HDMI-A-3" $vert setbg "HDMI-A-3" $vert
;; ;;
laptopHomeMultihead) laptopMultihead)
horiz1=$(random_file ${wallpapersHorizontal}) horiz1=$(random_file ${wallpapersHorizontal})
horiz2=$(random_file ${wallpapersHorizontal}) horiz2=$(random_file ${wallpapersHorizontal})