Change sway config

This commit is contained in:
2024-06-04 20:16:08 -05:00
parent 21e825b2d1
commit d27b5b548f
13 changed files with 348 additions and 35 deletions

17
utils/default.nix Normal file
View File

@@ -0,0 +1,17 @@
{
mkMonitor = {
monitor,
resolution,
refreshRate,
wallpaper ? "default.png",
x ? 0,
y ? 0,
}:
{
${monitor} = {
mode = "${resolution}@${toString refreshRate}Hz";
pos = "${toString x} ${toString y}";
bg = "/etc/nixos/wallpapers/${wallpaper} fill";
};
};
}