From 96f9cc09f9fdbecff97980ab11127357621112ee Mon Sep 17 00:00:00 2001 From: Bun Date: Fri, 9 May 2025 18:53:02 -0400 Subject: [PATCH] Reorganizing of displays, add another path to impermanence for school --- modules/home/programs/misc/school/default.nix | 1 + modules/home/variables/displays/default.nix | 2 ++ modules/home/wms/programs/kanshi/default.nix | 29 +++++++++---------- modules/home/wms/sway/theme/default.nix | 5 +++- 4 files changed, 21 insertions(+), 16 deletions(-) diff --git a/modules/home/programs/misc/school/default.nix b/modules/home/programs/misc/school/default.nix index 404afcfe..35452156 100644 --- a/modules/home/programs/misc/school/default.nix +++ b/modules/home/programs/misc/school/default.nix @@ -9,6 +9,7 @@ teams-for-linux ]; persistence."/persist${config.home.homeDirectory}".directories = [ + ".cache/gpclient" ".config/com.yuezk.qt" ".config/remmina" ".config/teams-for-linux" diff --git a/modules/home/variables/displays/default.nix b/modules/home/variables/displays/default.nix index 99f17bf3..8d1fc828 100644 --- a/modules/home/variables/displays/default.nix +++ b/modules/home/variables/displays/default.nix @@ -10,6 +10,8 @@ tower3 = "Eizo Nanao Corporation CG223W 23252050"; tower4 = "Samsung Electric Company SAMSUNG Unknown"; + jupiter = "Valve Corporation ANX7530 U 0x00000001"; + estradiol1 = "Dell Inc. DELL P2214H KW14V4965YKS"; estradiol2 = "HannStar Display Corp iP192A 051AW1WY03797"; }; diff --git a/modules/home/wms/programs/kanshi/default.nix b/modules/home/wms/programs/kanshi/default.nix index 958438cd..d592d646 100644 --- a/modules/home/wms/programs/kanshi/default.nix +++ b/modules/home/wms/programs/kanshi/default.nix @@ -3,6 +3,20 @@ services.kanshi = { enable = config.home.desktop.enable; settings = [ + { + output = { + criteria = config.displays.tower1; + mode = "1920x1080@143.979996Hz"; + }; + } + { + output = { + criteria = config.displays.jupiter; + mode = "800x1280@59.99900"; + transform = "270"; + scale = 1.15; + }; + } { profile = { name = "primary"; @@ -10,7 +24,6 @@ { criteria = config.displays.tower1; position = "3840,405"; - mode = "1920x1080@143.979996Hz"; } { criteria = config.displays.tower2; @@ -63,20 +76,6 @@ ]; }; } - { - profile = { - name = "steam-deck"; - outputs = [ - { - criteria = "Valve Corporation ANX7530 U 0x00000001"; - status = "enable"; - mode = "800x1280@59.99900"; - transform = "270"; - scale = 1.15; - } - ]; - }; - } { profile = { name = "undocked"; diff --git a/modules/home/wms/sway/theme/default.nix b/modules/home/wms/sway/theme/default.nix index 29478311..a5eb5980 100644 --- a/modules/home/wms/sway/theme/default.nix +++ b/modules/home/wms/sway/theme/default.nix @@ -42,7 +42,10 @@ hideEdgeBorders = "smart"; }; - floating.border = config.look.border.int; + floating = { + border = config.look.border.int; + titlebar = false; + }; gaps = { inner = 5;