From 1a87a74cf51c26615915dd9c795a0f7741a9174f Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Tue, 20 May 2025 06:37:25 -0500 Subject: [PATCH] aesthetic tweaks --- home/home.nix | 8 +++---- home/modules/hyprland.nix | 49 +++++++++++++++++++++++++++------------ 2 files changed, 38 insertions(+), 19 deletions(-) diff --git a/home/home.nix b/home/home.nix index 73b5205..34bc359 100644 --- a/home/home.nix +++ b/home/home.nix @@ -1313,7 +1313,7 @@ in { progress_bar_frame_width = 1; progress_bar_min_width = 150; progress_bar_max_width = 300; - transparency = 10; + transparency = 30; separator_height = 2; padding = 10; horizontal_padding = 8; @@ -1334,19 +1334,19 @@ in { dmenu = "${pkgs.rofi}/bin/rofi -dmenu -p dunst:"; }; urgency_low = { - background = "#282a36"; + background = "#282a36aa"; foreground = "#57c7ff"; timeout = 10; }; urgency_normal = { - background = "#282a36"; + background = "#282a36aa"; foreground = "#5af78e"; timeout = 10; }; urgency_critical = { - background = "#282a36"; + background = "#282a36aa"; foreground = "#ff5c57"; frame_color = "#ff0000"; timeout = 0; diff --git a/home/modules/hyprland.nix b/home/modules/hyprland.nix index 5906231..954fbc5 100644 --- a/home/modules/hyprland.nix +++ b/home/modules/hyprland.nix @@ -6,12 +6,15 @@ in { home.file.".config/hypr/hyprlock.conf" = { text = '' + auth { + fingerprint:enable = false + } background { monitor = - path = /home/chris/pics/wallpapers/nixorange.png # only png supported for now + path = /home/chris/pics/wallpapers/tech.jpg # only png supported for now blur_passes = 3 # 0 disables blurring - blur_size = 7 - noise = 0.0117 + blur_size = 12 + noise = 0.1 contrast = 0.8916 brightness = 0.8172 vibrancy = 0.1696 @@ -19,22 +22,22 @@ in } input-field { monitor = - size = 200, 50 - outline_thickness = 3 + size = 400, 50 + outline_thickness = 2 dots_size = 0.33 # Scale of input-field height, 0.2 - 0.8 dots_spacing = 0.15 # Scale of dots' absolute size, 0.0 - 1.0 - dots_center = false + dots_center = true dots_rounding = -1 # -1 default circle, -2 follow input-field rounding - outer_color = rgb(151515) - inner_color = rgb(200, 200, 200) - font_color = rgb(10, 10, 10) + outer_color = rgb(90, 247, 142) + inner_color = rgb(40, 42, 54) + font_color = rgb(90, 247, 142) fade_on_empty = true fade_timeout = 1000 # Milliseconds before fade_on_empty is triggered. placeholder_text = Input Password... # Text rendered in the input box when it's empty. hide_input = false rounding = -1 # -1 means complete rounding (circle/oval) - check_color = rgb(204, 136, 34) - fail_color = rgb(204, 34, 34) # if authentication failed, changes outer_color and fail message color + check_color = rgb(255, 159, 67) + fail_color = rgb(255, 92, 87) # if authentication failed, changes outer_color and fail message color fail_text = $FAIL ($ATTEMPTS) # can be set to empty fail_transition = 300 # transition time in ms between normal outer_color and fail_color capslock_color = -1 @@ -149,7 +152,7 @@ in decoration = { rounding = 18; # multisample_edges=true - active_opacity = 0.97; + active_opacity = 0.90; inactive_opacity = 0.70; fullscreen_opacity = 1.0; @@ -176,6 +179,18 @@ in dim_special = 0; }; + group = { + "col.border_active" = "rgba(282a3600) rgba(57c7ff00) rgba(5af78e00) 45deg"; + "col.border_inactive" = "rgba(282a3655) rgba(57c7ff55) rgba(5af78e55) 45deg"; + groupbar = { + rounding = 16; + gradients = true; + gradient_rounding = 12; + "col.active" = "rgba(282a36ff)"; + "col.inactive" = "rgba(282a3655)"; + }; + }; + bezier = "snapslide,0.07,0.66,0.04,1.02"; animations = { @@ -295,7 +310,7 @@ in "SUPERSHIFT,Left,moveintogroup,left" "SUPERSHIFT,Up,moveintogroup,up" "SUPERSHIFT,Down,moveintogroup,down" - "SUPERALT,g,togglegroup" + "SUPERSHIFT,g,togglegroup" "SUPER,1,workspace,1" "SUPER,2,workspace,2" @@ -330,7 +345,7 @@ in "SUPERALT,a,movetoworkspace,special:agenda" "SUPER,g,togglespecialworkspace,agenda" - "SUPERSHIFT,g,exec,waybar.sh" + # "SUPERSHIFT,g,exec,waybar.sh" "SUPERALT,n,exec,eww update rightside=true" "SUPERCTRL,f,exec,forms-fill.sh" ]; @@ -359,9 +374,13 @@ in # Blur waybar # blurls = "gtk-layer-shell"; layerrule = [ - # "blur, gtk-layer-shell" + "blur, notifications" + # "blur, panel" + "ignorezero, notifications" + "ignorezero, panel" "ignorezero, gtk-layer-shell" "animation snapslide, gtk-layer-shell" + "animation snapslide, panel" ]; # blurls=notifications