config screens positions on desktop
This commit is contained in:
@ -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;
|
||||
|
18
homes/desktop/hyprland.nix
Normal file
18
homes/desktop/hyprland.nix
Normal 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"
|
||||
];
|
||||
};
|
||||
}
|
@ -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"
|
||||
];
|
||||
}
|
||||
|
Reference in New Issue
Block a user