general { hide_cursor = true no_fade_in = false grace = 0 disable_loading_bar = true } background { monitor = path = ~/Pictures/Wallpapers/Static/blurred.jpg blur_passes = 0 } # -- time -- label { monitor = text = cmd[update:1000] echo "$(date +"%H:%M")" color = 0xFF{{ colors.primary.default.hex_stripped }} font_size = 80 font_family = JetBrains Mono ExtraBold position = 0, 140 halign = center valign = center } # -- quote -- label { monitor = text = - PAIN IS REAL, BUT SO IS HOPE - color = 0xFF{{ colors.tertiary.default.hex_stripped }} font_size = 12 font_family = JetBrains Mono ExtraLight position = 0, 80 halign = center valign = center } # -- greeting -- label { monitor = text = Heya $USER :3 color = 0xFF{{ colors.surface_tint.default.hex_stripped }} font_size = 20 font_family = JetBrains Mono Light position = 0, 0 halign = center valign = center } # -- password input -- input-field { monitor = size = 230, 40 outline_thickness = 0 dots_size = 0.2 dots_spacing = 0.4 dots_center = true inner_color = 0xFF{{ colors.primary_container.default.hex_stripped }} font_color = 0xFF{{ colors.primary.default.hex_stripped }} fade_on_empty = false placeholder_text = unlock the magic... fail_color = 0xFF{{ colors.error.default.hex_stripped }} hide_input = false position = 0, -50 halign = center valign = center } # -- uptime view -- label { monitor = text = cmd[update:60000] echo "uptime: $(bash -c 's=$(cut -d. -f1 /proc/uptime); h=$((s/3600)); m=$(((s%3600)/60)); printf "%02d:%02dh" "$h" "$m"')" color = 0xFF{{ colors.surface_tint.default.hex_stripped }} font_size = 14 font_family = JetBrains Mono position = 20, 20 halign = left valign = bottom } # -- battery view -- label { monitor = text = cmd[update:1000] bash -c 'cap=$(< /sys/class/power_supply/BAT0/capacity); stat=$(< /sys/class/power_supply/BAT0/status); if [ "$stat" = "Discharging" ]; then printf "󰂄 %s%%" "$cap"; else if [ "$stat" = "Charging" ]; then printf "󰁹 %s%%" "$cap"; else if [ "$stat" = "Full" ]; then printf "󰁹 %s%%" "$cap"; else printf ""; fi' color = 0xFF{{ colors.surface_tint.default.hex_stripped }} font_size = 14 font_family = JetBrains Mono position = -20, 20 halign = right valign = bottom }