Change sway config
This commit is contained in:
17
utils/default.nix
Normal file
17
utils/default.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user