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

@@ -39,9 +39,12 @@
# your public ssh key
signingKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKxyiqawA95AlLjXGd99sQCVR2rDq2/D7PG/vz7sZv5G";
mainMonitor = "DP-1";
pathConfig = {
wallpaper = "Obrazy/tapety/catppuccin";
};
};
in
{

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 = [