summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2025-10-21 13:10:09 +0530
committersinanmohd <sinan@sinanmohd.com>2025-10-21 13:10:25 +0530
commit2071ec1cd3432eb3c055dbf5918f291e2ed15fea (patch)
tree6e3d6845c74d7abc77334b79061b6efb9a25e063
parent3107c3d5f435f551219f000b14538691908067e9 (diff)
chore(home/cez/wayland): set display positions
-rw-r--r--home/cez/modules/wayland.nix11
1 files changed, 9 insertions, 2 deletions
diff --git a/home/cez/modules/wayland.nix b/home/cez/modules/wayland.nix
index 1d63f76..10ff7e2 100644
--- a/home/cez/modules/wayland.nix
+++ b/home/cez/modules/wayland.nix
@@ -2,6 +2,7 @@
let
wayland-scripts = pkgs.callPackage ../../wayland/pkgs/wayland-scripts { };
freezshot = "${wayland-scripts}/bin/freezshot";
+ scale = 1.6;
in
{
wayland.windowManager.sway.settings = {
@@ -9,8 +10,14 @@ in
bindsym."mod4+shift+s" = "exec ${freezshot}";
output = {
- "eDP-1".scale = 1.6;
- "HDMI-A-1".scale = 1.6;
+ "eDP-1" = {
+ inherit scale;
+ position = "0,0";
+ };
+ "HDMI-A-1" = {
+ inherit scale;
+ position = "2560,0";
+ };
};
};