fix: sddm theme
This commit is contained in:
parent
fc9b14e0d2
commit
d273765b99
9 changed files with 65 additions and 106 deletions
|
|
@ -4,10 +4,12 @@
|
|||
inputs,
|
||||
pkgs,
|
||||
config,
|
||||
helper,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
let
|
||||
inherit (helper) capitalize;
|
||||
username = "danny";
|
||||
in
|
||||
{
|
||||
|
|
@ -20,16 +22,27 @@ in
|
|||
monitors = [
|
||||
{
|
||||
desc = "ASUSTek COMPUTER INC ASUS VG32VQ1B 0x00002271";
|
||||
output = "DP-6";
|
||||
output = "DP-5";
|
||||
props = "2560x1440@165, 0x0, 1";
|
||||
}
|
||||
{
|
||||
desc = "Acer Technologies XV272U V3 1322131231233";
|
||||
output = "DP-5";
|
||||
output = "DP-6";
|
||||
props = "2560x1440@180, -1440x-600, 1, transform, 1";
|
||||
}
|
||||
];
|
||||
};
|
||||
sddm.package = (
|
||||
pkgs.sddm-astronaut.override {
|
||||
embeddedTheme = "purple_leaves";
|
||||
themeConfig = {
|
||||
ScreenWidth = "2560";
|
||||
ScreenHeight = "1440";
|
||||
Font = "SF Pro Display Bold";
|
||||
HeaderText = "Welcome, ${capitalize username}";
|
||||
};
|
||||
}
|
||||
);
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPortRanges = [
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue