source = ~/.config/hypr/bg.conf general { immediate_render = true hide_cursor = true } background { monitor = path = $bg # only png supported for now # color = rgba(25, 20, 20, 1.0) color = rgba(0,0,0,0) # all these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations blur_passes = 5 # 0 disables blurring blur_size = 5 # noise = 0 # contrast = 0 # brightness = 0 # vibrancy = 0 # vibrancy_darkness = 0.0 # update: 1800000: true } input-field { monitor = size = 300, 30 outline_thickness = 0 dots_size = 0.25 # Scale of input-field height, 0.2 - 0.8 dots_spacing = 0.55 # Scale of dots' absolute size, 0.0 - 1.0 dots_center = true dots_rounding = -1 outer_color = rgba(242, 243, 244, 0) inner_color = rgba(242, 243, 244, 0) font_color = rgba(242, 243, 244, 0.75) fade_on_empty = false placeholder_text = # Text rendered in the input box when it's empty. hide_input = false check_color = rgba(204, 136, 34, 0) fail_color = rgba(204, 34, 34, 0) # 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 numlock_color = -1 bothlock_color = -1 # when both locks are active. -1 means don't change outer color (same for above) invert_numlock = true # change color if numlock is off swap_font_color = false # see below position = 0, -468 halign = center valign = center } # label { # monitor = # text = $TIME12 # color = rgba(242, 243, 244, 0.75) # font_size = 14 # font_family = SF Pro Text # position = 20, 1024 # halign = left # valign = center #} label { monitor = text = cmd[update:1000] echo "$(~/scripts/song-status)" color = rgba(242, 243, 244, 0.75) font_size = 14 font_family = SF Pro Text position = 20, 1024 halign = left valign = center } label { monitor = text = cmd[update:1000] echo "$(~/scripts/network-status)" color = rgba(242, 243, 244, 0.75) font_size = 16 font_family = Symbols Nerd Font position = -35, 1024 halign = right valign = center } # label { # monitor = # # text = cmd[update:1000] echo "$(~/scripts/layout-status)" # text = $LAYOUT[en,zh] # color = rgba(242, 243, 244, 0.75) # font_size = 15 # font_family = SF Pro Text # position = -150, 1024 # halign = right # valign = center # } # label { # monitor = # text = cmd[update:1000] echo "$(date +"%A, %B %d")" # color = rgba(242, 243, 244, 0.75) # font_size = 20 # font_family = SF Pro Display Bold # position = 0, 405 # halign = center # valign = center # } label { monitor = # text = cmd[update:1000] echo "$(date +"%I:%M")" # text = cmd[update:1000] enable strftime; strftime '%I:%M' $EPOCHSECONDS text = $TIME12 color = rgba(242, 243, 244, 0.75) font_size = 93 font_family = SF Pro Display Bold position = 0, 310 halign = center valign = center } label { monitor = text = Password: color = rgba(242, 243, 244, 0.75) font_size = 10 font_family = SF Pro Display position = 0, -438 halign = center valign = center }