main monitor config option

This commit is contained in:
2026-02-24 19:45:58 +01:00
parent f175a72fcf
commit 74b4c90007
3 changed files with 12 additions and 5 deletions

View File

@@ -1,4 +1,9 @@
{ lib, isNixOS, ... }:
{
lib,
isNixOS,
userConfig,
...
}:
{
programs.ashell = {
@@ -6,7 +11,7 @@
package = lib.mkIf (!isNixOS) null;
settings = {
outputs = {
Targets = [ "DP-1" ];
Targets = [ userConfig.mainMonitor ];
};
position = "Bottom";
modules = {

View File

@@ -1,6 +1,7 @@
{
pkgs,
isNixOS,
userConfig,
...
}:
@@ -22,9 +23,7 @@
reload_style_on_change = true;
width = 70;
output = [
"DP-1"
"eDP-1"
"LVDS-1"
userConfig.mainMonitor
];
modules-left = [