Add monitor configuration to aspi and kardorf homes
This commit is contained in:
parent
881c930fdb
commit
d86321cfe6
@ -21,4 +21,35 @@
|
|||||||
hostName = "aspi";
|
hostName = "aspi";
|
||||||
is-nixos = true;
|
is-nixos = true;
|
||||||
terminal = "kitty";
|
terminal = "kitty";
|
||||||
|
|
||||||
|
# ------- ----------
|
||||||
|
# | eDP-1 | | HDMI-A-1 |
|
||||||
|
# ------- ----------
|
||||||
|
monitors = [
|
||||||
|
{
|
||||||
|
name = "HDMI-A-1";
|
||||||
|
# width = 1680;
|
||||||
|
# height = 1050;
|
||||||
|
workspaces = [
|
||||||
|
"1"
|
||||||
|
"2"
|
||||||
|
"3"
|
||||||
|
"4"
|
||||||
|
"5"
|
||||||
|
];
|
||||||
|
primary = true;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "eDP-1";
|
||||||
|
# width = 1680;
|
||||||
|
# height = 1050;
|
||||||
|
workspaces = [
|
||||||
|
"6"
|
||||||
|
"7"
|
||||||
|
"8"
|
||||||
|
"9"
|
||||||
|
"10"
|
||||||
|
];
|
||||||
|
}
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
@ -142,7 +142,7 @@ in {
|
|||||||
"$mod" = "SUPER";
|
"$mod" = "SUPER";
|
||||||
|
|
||||||
# Monitors
|
# Monitors
|
||||||
monitor = ",preferred,auto,auto";
|
monitor = ",preferred,auto,1";
|
||||||
|
|
||||||
# Autostart
|
# Autostart
|
||||||
exec-once = ["firefox"];
|
exec-once = ["firefox"];
|
||||||
@ -231,23 +231,17 @@ in {
|
|||||||
];
|
];
|
||||||
|
|
||||||
# Workspace rules
|
# Workspace rules
|
||||||
workspace = [
|
workspace =
|
||||||
"1, monitor:HDMI-A-1"
|
[
|
||||||
"2, monitor:HDMI-A-1"
|
# smart gaps (none when only one window in workspace)
|
||||||
"3, monitor:HDMI-A-1"
|
"w[t1], gapsin:0, gapsout:0, border:1"
|
||||||
"4, monitor:HDMI-A-1"
|
"w[tg1], gapsin:0, gapsout:0, border:1"
|
||||||
"5, monitor:HDMI-A-1"
|
"f[1], gapsin:0, gapsout:0, border:1"
|
||||||
"6, monitor:eDP-1"
|
]
|
||||||
"7, monitor:eDP-1"
|
# builds like "1, e-DP1" "2, HDMI-1" etc.
|
||||||
"8, monitor:eDP-1"
|
++ builtins.concatLists (
|
||||||
"9, monitor:eDP-1"
|
map (monitor: map (ws: "${ws}, monitor:${monitor.name}") monitor.workspaces) config.monitors
|
||||||
"10, monitor:eDP-1"
|
);
|
||||||
|
|
||||||
# smart gaps (none when only one window in workspace)
|
|
||||||
"w[t1], gapsin:0, gapsout:0, border:1"
|
|
||||||
"w[tg1], gapsin:0, gapsout:0, border:1"
|
|
||||||
"f[1], gapsin:0, gapsout:0, border:1"
|
|
||||||
];
|
|
||||||
|
|
||||||
# Mouse binds
|
# Mouse binds
|
||||||
bindm = [
|
bindm = [
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
./features/emacs
|
./features/emacs
|
||||||
|
|
||||||
./features/hyprland
|
./features/hyprland
|
||||||
|
# ./features/i3
|
||||||
|
|
||||||
./features/suites/cli
|
./features/suites/cli
|
||||||
./features/suites/desktop
|
./features/suites/desktop
|
||||||
@ -21,4 +22,35 @@
|
|||||||
hostName = "kardorf";
|
hostName = "kardorf";
|
||||||
is-nixos = true;
|
is-nixos = true;
|
||||||
terminal = "kitty";
|
terminal = "kitty";
|
||||||
|
|
||||||
|
# --------- ---------
|
||||||
|
# | DVI-D-1 | | DVI-D-2 |
|
||||||
|
# --------- ---------
|
||||||
|
monitors = [
|
||||||
|
{
|
||||||
|
name = "DVI-D-1";
|
||||||
|
width = 1680;
|
||||||
|
height = 1050;
|
||||||
|
workspaces = [
|
||||||
|
"1"
|
||||||
|
"2"
|
||||||
|
"3"
|
||||||
|
"4"
|
||||||
|
"5"
|
||||||
|
];
|
||||||
|
primary = true;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "DVI-D-2";
|
||||||
|
width = 1680;
|
||||||
|
height = 1050;
|
||||||
|
workspaces = [
|
||||||
|
"6"
|
||||||
|
"7"
|
||||||
|
"8"
|
||||||
|
"9"
|
||||||
|
"10"
|
||||||
|
];
|
||||||
|
}
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user