673 current 1970-01-01 01:00:00 25.05.20250819.a58390a 6.12.42 *

This commit is contained in:
2025-08-22 11:35:28 +02:00
parent d1c3ec9b75
commit 8cc6ac1444
2 changed files with 36 additions and 52 deletions

View File

@@ -93,31 +93,11 @@ in {
output = let output = let
bgdir = ../../../assets; bgdir = ../../../assets;
bg1080 = bgdir + "/bg1080.png"; bg1080 = bgdir + "/bg1080.png";
bg1080vert = bgdir + "/bg1080vert.png";
bg4k = bgdir + "/bg4k.png";
in in
lib.mkIf cfg.laptop { lib.mkIf cfg.laptop {
eDP-1 = { eDP-1 = {
bg = "'${bg1080}' fit"; bg = "'${bg1080}' fit";
}; };
HDMI-A-1 = {
bg = "'${bg4k}' fit";
};
DP-3 = {
bg = "'${bg1080}' fit";
};
DP-4 = {
bg = "'${bg1080}' fit";
};
DP-5 = {
bg = "'${bg1080vert}' fit";
};
DP-6 = {
bg = "'${bg1080}' fit";
};
DP-7 = {
bg = "'${bg1080vert}' fit";
};
}; };
input = { input = {
@@ -185,6 +165,7 @@ in {
{app_id = "thunderbird";} {app_id = "thunderbird";}
{app_id = "discord";} {app_id = "discord";}
{app_id = "Element";} {app_id = "Element";}
{class = "Element";}
]; ];
"music" = [{app_id = "org.rncbc.qpwgraph";}]; "music" = [{app_id = "org.rncbc.qpwgraph";}];
"obsidian" = [{app_id = "obsidian";} {class = "obsidian";}]; "obsidian" = [{app_id = "obsidian";} {class = "obsidian";}];
@@ -228,27 +209,21 @@ in {
workspaceOutputAssign = lib.mkIf cfg.laptop [ workspaceOutputAssign = lib.mkIf cfg.laptop [
{ {
workspace = "main"; workspace = "main";
output = ["DP-3" "DP-4" "DP-6" "HDMI-A-1" "eDP-1"];
} }
{ {
workspace = "term"; workspace = "term";
output = ["DP-5" "DP-4" "DP-7" "eDP-1"];
} }
{ {
workspace = "msg"; workspace = "msg";
output = ["eDP-1"];
} }
{ {
workspace = "music"; workspace = "music";
output = ["eDP-1"];
} }
{ {
workspace = "5"; workspace = "5";
output = ["DP-3" "DP-4" "DP-6" "HDMI-A-1" "eDP-1"];
} }
{ {
workspace = "obsidian"; workspace = "obsidian";
output = ["eDP-1"];
} }
]; ];

View File

@@ -21,16 +21,25 @@ in {
profile.outputs = [ profile.outputs = [
{ {
criteria = "eDP-1"; criteria = "eDP-1";
position = if settings.vertical.left then "1080,1080" else "0,1080"; position =
if settings.vertical.left
then "1080,1080"
else "0,1080";
} }
{ {
criteria = settings.horizontal.name; criteria = settings.horizontal.name;
position = if settings.vertical.left then "1080,0" else "0,0"; position =
if settings.vertical.left
then "1080,0"
else "0,0";
} }
{ {
criteria = settings.vertical.name; criteria = settings.vertical.name;
transform = settings.vertical.orientation; transform = settings.vertical.orientation;
position = if settings.vertical.left then "0,0" else "1920,0"; position =
if settings.vertical.left
then "0,0"
else "1920,0";
} }
]; ];
profile.exec = [ profile.exec = [