hyprland: themeing updates

This commit is contained in:
notohh 2024-04-17 23:53:39 -04:00
parent 5a6867d359
commit 8dfeaa004f
Signed by: notohh
GPG key ID: BD47506D475EE86D
4 changed files with 60 additions and 27 deletions

View file

@ -25,8 +25,8 @@
gaps_in = 10; gaps_in = 10;
gaps_out = 20; gaps_out = 20;
border_size = 4; border_size = 4;
"col.active_border" = "rgb(f7768e) rgb(2ac3de)"; "col.active_border" = "rgb(f7768e) rgb(c0caf5)";
"col.inactive_border" = "rgb(313244)"; "col.inactive_border" = "rgb(24283b)";
layout = "dwindle"; layout = "dwindle";
}; };

View file

@ -2,23 +2,36 @@ _: {
programs.hyprlock = { programs.hyprlock = {
enable = true; enable = true;
backgrounds = let backgrounds = let
wallpaperPath = "/home/notoh/Pictures/wallpapers/cweam.png"; verticalWallpaper = "/home/notoh/Pictures/wallpapers/sparkle.png";
horizontalWallpaper = "/home/notoh/Pictures/wallpapers/sparkle2.png";
in [ in [
{
monitor = "HDMI-A-1";
path = verticalWallpaper;
blur_passes = 3;
blur_size = 4;
brightness = 0.5;
}
{ {
monitor = "DP-1"; monitor = "DP-1";
path = wallpaperPath; path = verticalWallpaper;
blur_passes = 3;
blur_size = 4;
brightness = 0.5;
} }
{ {
monitor = "DP-2"; monitor = "DP-2";
path = wallpaperPath; path = horizontalWallpaper;
blur_passes = 3;
blur_size = 4;
brightness = 0.5;
} }
{ {
monitor = "DP-3"; monitor = "DP-3";
path = wallpaperPath; path = horizontalWallpaper;
} blur_passes = 3;
{ blur_size = 4;
monitor = "HDMI-A-1"; brightness = 0.5;
path = wallpaperPath;
} }
]; ];
general = { general = {
@ -31,40 +44,57 @@ _: {
{ {
monitor = "DP-2"; monitor = "DP-2";
size = { size = {
width = 300; width = 350;
height = 50; height = 50;
}; };
outline_thickness = 2; outline_thickness = 2;
outer_color = "rgb(f7768e)";
outer_color = "rgb(f5c2e7)"; inner_color = "rgb(1a1b26)";
inner_color = "rgb(1e1e2e)"; font_color = "rgb(c0caf5)";
font_color = "rgb(cdd6f4)"; fail_color = "rgb(f7768e)";
fail_text = "<i>$FAIL <b>($ATTEMPTS)</b></i>";
check_color = "rgb(ff9e64)";
swap_font_color = false;
placeholder_text = '' placeholder_text = ''
<span foreground="##cdd6f4">Password...</span> <i><span foreground="##c0caf5">Password...</span></i>
''; '';
fade_on_empty = false; fade_on_empty = false;
dots_spacing = 0.3; dots_spacing = 0.5;
dots_center = true; dots_center = true;
shadow_passes = 3;
shadow_size = 1;
shadow_color = "rgba(00000099)";
shadow_boost = 1.0;
} }
]; ];
labels = [ labels = [
{ {
monitor = "DP-2"; monitor = "DP-2";
text = "Hi, $USER"; text = ''
color = "rgb(1e1e2e)"; Hi, <i><span foreground="##f7768e">$USER</span></i>
'';
color = "rgb(c0caf5)";
valign = "center"; valign = "center";
halign = "center"; halign = "center";
shadow_passes = 3;
shadow_size = 1;
shadow_color = "rgba(00000099)";
shadow_boost = 1.0;
} }
{ {
monitor = "DP-2"; monitor = "DP-2";
text = "$TIME"; text = "$TIME";
color = "rgb(1e1e2e)"; color = "rgb(c0caf5)";
position = { position = {
x = 0; x = 0;
y = 120; y = 120;
}; };
valign = "center"; valign = "center";
halign = "center"; halign = "center";
shadow_passes = 3;
shadow_size = 1;
shadow_color = "rgba(00000099)";
shadow_boost = 0.6;
} }
]; ];
}; };

View file

@ -11,11 +11,11 @@
beforeSleepCmd = "${pkgs.systemd}/bin/loginctl lock-session"; beforeSleepCmd = "${pkgs.systemd}/bin/loginctl lock-session";
listeners = [ listeners = [
{ {
timeout = 500; timeout = 400;
onTimeout = "${lib.getExe config.programs.hyprlock.package}"; onTimeout = "${lib.getExe config.programs.hyprlock.package}";
} }
{ {
timeout = 560; timeout = 460;
onTimeout = "${config.wayland.windowManager.hyprland.package}/bin/hyprctl dispatch dpms off"; onTimeout = "${config.wayland.windowManager.hyprland.package}/bin/hyprctl dispatch dpms off";
onResume = "${config.wayland.windowManager.hyprland.package}/bin/hyprctl dispatch dpms on"; onResume = "${config.wayland.windowManager.hyprland.package}/bin/hyprctl dispatch dpms on";
} }

View file

@ -3,12 +3,15 @@ _: {
enable = true; enable = true;
ipc = true; ipc = true;
splash = false; splash = false;
preloads = ["~/Pictures/wallpapers/frieren.png"]; preloads = [
"~/Pictures/wallpapers/sparkle.png"
"~/Pictures/wallpapers/sparkle2.png"
];
wallpapers = [ wallpapers = [
"HDMI-A-1,~/Pictures/wallpapers/frieren.png" "HDMI-A-1,~/Pictures/wallpapers/sparkle.png"
"DP-1,~/Pictures/wallpapers/frieren.png" "DP-1,~/Pictures/wallpapers/sparkle.png"
"DP-2,~/Pictures/wallpapers/frieren.png" "DP-2,~/Pictures/wallpapers/sparkle2.png"
"DP-3,~/Pictures/wallpapers/frieren.png" "DP-3,~/Pictures/wallpapers/sparkle2.png"
]; ];
}; };
} }