feat: add fourside monitor workspace binding

This commit is contained in:
Swarsel 2024-07-11 10:49:39 +02:00
parent 417f49e2ac
commit 88f64a3139
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
2 changed files with 30 additions and 6 deletions

View file

@ -1639,12 +1639,24 @@ This is basically just adjusted to the core count, path to the =hwmon= (this was
}; };
output = { output = {
DP-1 = { eDP-1 = {
mode = "2560x1440"; # TEMPLATE mode = "1920x1080"; # TEMPLATE
scale = "1"; scale = "1";
position = "1920,0";
# bg = "~/.dotfiles/wallpaper/lenovowp.png fill"; # bg = "~/.dotfiles/wallpaper/lenovowp.png fill";
}; };
HDMI-A-1 = {
mode = "2560x1440";
scale = "1";
# bg = "~/.dotfiles/wallpaper/lenovowp.png fill";
position = "0,0";
}; };
};
workspaceOutputAssign = [
{ output = "eDP-1"; workspace = "1:一";}
{ output = "HDMI-A-1"; workspace = "2:二";}
];
keybindings = let keybindings = let
modifier = config.wayland.windowManager.sway.config.modifier; modifier = config.wayland.windowManager.sway.config.modifier;

View file

@ -74,12 +74,24 @@
}; };
output = { output = {
DP-1 = { eDP-1 = {
mode = "2560x1440"; # TEMPLATE mode = "1920x1080"; # TEMPLATE
scale = "1"; scale = "1";
position = "1920,0";
# bg = "~/.dotfiles/wallpaper/lenovowp.png fill"; # bg = "~/.dotfiles/wallpaper/lenovowp.png fill";
}; };
HDMI-A-1 = {
mode = "2560x1440";
scale = "1";
# bg = "~/.dotfiles/wallpaper/lenovowp.png fill";
position = "0,0";
}; };
};
workspaceOutputAssign = [
{ output = "eDP-1"; workspace = "1:";}
{ output = "HDMI-A-1"; workspace = "2:";}
];
keybindings = let keybindings = let
modifier = config.wayland.windowManager.sway.config.modifier; modifier = config.wayland.windowManager.sway.config.modifier;