#VARIABLES
$mpris_art = /tmp/hyde-mpris.png
$artfile = /tmp/hyde-mpris-blurred.png
$fn_splash=echo "$($album || hyprctl splash )"
$wall = $HOME/.cache/hyde/wall.set



# background {
#     monitor =
#     # path = $HOME/.config/hyprlock/hyprlock.png # If WP is not .png it won't work
#     # path = screenshot
#     path = $mpris_art
#     reload_time = 0
#     blur_passes = 3
#     blur_size = 3
#     noise = 0.0117
#     contrast = 0.8916
#     brightness = 0.8172
#     vibrancy = 0.1696
#     vibrancy_darkness = 0.0
# }


# USER
label {
    monitor =
    text =  Hi Alpha :)
    # color = rgba(ECE8BBff)
    # color = $primary_4_rgba
    font_size = 35
    font_family = Google Sans
    position = 0, 260
    halign = center
    valign = center
}


# INPUT FIELD
input-field {
    monitor =
    size = 200, 50 #!
    outline_thickness = 3
    dots_size = 0.33 # Scale of input-field height, 0.2 - 0.8
    dots_spacing = 0.30 # Scale of dots' absolute size, 0.0 - 1.0
    dots_center = true
    dots_rounding = -1 # -1 default circle, -2 follow input-field rounding
    outer_color = $primary_4_rgba
    inner_color = $primary_3_rgba
    font_color = $text_1_rgba
    fade_on_empty = true
    fade_timeout = 1000 # Milliseconds before fade_on_empty is triggered.
    placeholder_text = <i>Input Password...</i> # Text rendered in the input box when it's empty.
    hide_input = false
    rounding = -1 # -1 means complete rounding (circle/oval)
    check_color = rgba($accent1_2)
    fail_color = rgb(204, 34, 34) # if authentication failed, changes outer_color and fail message color
    fail_text = <i>$FAIL <b>($ATTEMPTS)</b></i> # can be set to empty
    fail_transition = 300 # transition time in ms between normal outer_color and fail_color
    capslock_color = 1
    numlock_color = 1
    bothlock_color = -1 # when both locks are active. -1 means don't change outer color (same for above)
    invert_numlock = false # change color if numlock is off
    swap_font_color = true # see below
    position = 0, -350
    halign = center
    valign = center
}


# SPLASH
label {
    monitor = 
    text = cmd[update:1000] $fn_splash
    # color = $primary_4_rgba
    font_family = JetBrainsMono, Font Awesome 25 Free Solid
    position = 0, 330
    halign = center
    valign = bottom
}


# image {
#     monitor = 
#     path = $artfile
#     contain = true
#     size = 1100 # lesser side if not 1:1 ratio
#     rounding = 1 # negative values mean circle
#     border_size = 0
#     # border_color =  $primary_1_rgba
#     rotate = 0 # degrees, counter-clockwise
#     reload_time = 0 # seconds between reloading, 0 to reload with SIGUSR2
#     reload_cmd = # command to get new path. if empty, old path will be used. don't run "follow" commands like tail -F
#     position = 18, -10
#     halign = center
#     valign = center
# } 

image {
    monitor = 
    path = $mpris_art
    size = 300 # lesser side if not 1:1 ratio
    rounding = -1 # negative values mean circle
    border_size = 0
    # border_color =   $primary_3_rgba
    rotate = 0 # degrees, counter-clockwise
    reload_time = 0 # seconds between reloading, 0 to reload with SIGUSR2
    reload_cmd = # command to get new path. if empty, old path will be used. don't run "follow" commands like tail -F
    position = 0, 420
    halign = center
    valign = bottom
    shadow_passes = 2
    shadow_size = 3
    shadow_boost = 1.5

} 
