config screens positions on desktop

This commit is contained in:
2024-11-06 14:05:14 +01:00
parent 9c4ffce6c1
commit 2c35616fef
3 changed files with 25 additions and 4 deletions

View File

@ -1,7 +1,10 @@
{ config, lib, pkgs, ... }:
{
imports = [ ../modules/nitrogen.nix ];
imports = [
../modules/nitrogen.nix
./hyprland.nix
];
home.file = {
".config/bspwm/screenlayout.sh".source = ./bspwm/screenlayout.sh;
".config/bspwm/host.sh".source = ./bspwm/host.sh;

View File

@ -0,0 +1,18 @@
{ config, lib, pkgs, ... }:
{
wayland.windowManager.hyprland.settings = {
monitor = [
"HDMI-A-1, 1920x1080@60, 0x0, auto"
"HDMI-A-3, 1920x1080@60, 1920x0, auto"
"DP-1, 1280x1024@60, 3840x0, auto"
"DP-3, 1280x1024@60, 5120x0, auto"
];
workspace = [
"1, monitor:HDMI-A-1"
"2, monitor:HDMI-A-3, default:true"
"3, monitor:DP-1"
"4, monitor:DP-3"
];
};
}

View File

@ -1,8 +1,8 @@
{ config, lib, pkgs, ... }:
{
wayland.windowManager.hyprland.settings.monitor= [
"eDP-1, 1920x1080@120, 0x0, 1"
"HDMI-A-1, 1920x1080@60, auto, auto"
wayland.windowManager.hyprland.settings.monitor = [
"eDP-1, 1920x1080@120, 0x0, 1"
"HDMI-A-1, 1920x1080@60, auto, auto"
];
}