fix: sddm theme

This commit is contained in:
danny 2025-10-16 21:20:21 +08:00
parent fc9b14e0d2
commit d273765b99
9 changed files with 65 additions and 106 deletions

View file

@ -2,6 +2,7 @@
let
inherit (lib) optionalString;
inherit (config.systemConf) username;
inherit (config.systemConf.hyprland) monitors;
in
{
home-manager.users."${username}" = {
@ -20,7 +21,7 @@ in
settings = [
# monitor 1
{
output = "DP-6";
output = "${(builtins.elemAt monitors 0).output}";
height = 48;
modules-left = [
"custom/os"
@ -47,7 +48,7 @@ in
}
# monitor 2
{
output = "DP-5";
output = "${(builtins.elemAt monitors 1).output}";
height = 54;
modules-left = [
"clock"