diff --git a/modules/home/hyprland/config.nix b/modules/home/hyprland/config.nix index 4b5cbe8..7932e3e 100644 --- a/modules/home/hyprland/config.nix +++ b/modules/home/hyprland/config.nix @@ -9,24 +9,98 @@ settings = { background = [ { - path = "screenshot"; - blur_passes = 3; - blur_size = 9; + path = "screenshot"; # only png supported for now + # color = $color1 + + # all these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations + blur_size = 4; + blur_passes = 3; # 0 disables blurring + noise = 0.0117; + contrast = 1.3000; # Vibrant!!! + brightness = 0.8000; + vibrancy = 0.2100; + vibrancy_darkness = 0.0; } ]; + + # Hours + label = [ + { + text = ''cmd[update:1000] echo " $(date +"%H") "''; + #color = $color6 + font_size = 112; + # font_family = Geist Mono 10 + shadow_passes = 3; + shadow_size = 4; + + position = "0, 220"; + halign = "center"; + valign = "center"; + } + { + text = ''cmd[update:1000] echo " $(date +"%M") "''; + # color = $color6 + font_size = 112; + # font_family = Geist Mono 10 + shadow_passes = 3; + shadow_size = 4; + + position = "0, 80"; + halign = "center"; + valign = "center"; + } + { + text = ''cmd[update:18000000] echo " "$(date +'%A')" "''; + # color = $color7 + font_size = 22; + # font_family = JetBrainsMono Nerd Font 10 + + position = "0, 30"; + halign = "center"; + valign = "center"; + } + { + text = ''cmd[update:18000000] echo " "$(date +'%d %b')" "''; + # color = $color7 + font_size = 18; + #font_family = JetBrainsMono Nerd Font 10 + + position = "0, 6"; + halign = "center"; + valign = "center"; + } + { + text = ''cmd[update:18000000] echo "Feels like $(curl -s 'wttr.in?format=%t' | tr -d '+') "''; + #color = $color7 + font_size = 18; + # font_family = Geist Mono 10 + + position = "0, 40"; + halign = "center"; + valign = "bottom"; + } + ]; + input-field = [ { - size = "200, 50"; - position = "0, -80"; - monitor = ""; + size = "250, 50"; + outline_thickness = 3; + + dots_size = 0.26; # Scale of input-field height, 0.2 - 0.8 + dots_spacing = 0.64; # Scale of dots' absolute size, 0.0 - 1.0 dots_center = true; - fade_on_empty = false; - font_color = "rgb(202, 211, 245)"; - inner_color = "rgb(91, 96, 120)"; - outer_color = "rgb(24, 25, 38)"; - outline_thickness = 5; - placeholder_text = "Password..."; - shadow_passes = 2; + dots_rouding = -1; + + rounding = 22; + # outer_color = $color0 + # inner_color = $color0 + # font_color = $color6 + fade_on_empty = true; + placeholder_text = ''Password...''; # Text rendered in the input box when it's empty. + + position = "0, 120"; + halign = "center"; + valign = "bottom"; } ]; };