From 9dc6bd9eb092d060b047a15f96d46c44f50da4cb Mon Sep 17 00:00:00 2001 From: antistereov Date: Wed, 25 Feb 2026 02:15:59 +0100 Subject: [PATCH] feat(hyprlock): update --- hypr/hyprlock.conf | 9 ++++----- hypr/scripts/battery.sh | 10 +++++----- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/hypr/hyprlock.conf b/hypr/hyprlock.conf index 6675b45..b00d85c 100644 --- a/hypr/hyprlock.conf +++ b/hypr/hyprlock.conf @@ -108,12 +108,11 @@ label { input-field { monitor = size = 300, 50 - position = 0, 200 + position = 0, 100 halign = center valign = bottom - color = rgba(242, 243, 244, 0.75) - inner_color = rgba(242, 243, 244, 0.75) + inner_color = rgba(242, 243, 244, 0.8) outer_color = $outer_color outline_thickness = 4 @@ -124,9 +123,9 @@ input-field { check_color = $check_color fail_text = $FAIL ($ATTEMPTS) - rounding = 15 + rounding = 10 shadow_passes = 0 - fade_on_empty = false + fade_on_empty = true } auth { diff --git a/hypr/scripts/battery.sh b/hypr/scripts/battery.sh index a1e6a2e..e342a30 100755 --- a/hypr/scripts/battery.sh +++ b/hypr/scripts/battery.sh @@ -16,31 +16,31 @@ CAPACITY="$(<"${BAT_PATH}/capacity")" # 0-100 #  0-10,  11-35,  36-60,  61-85,  86-100 if ((CAPACITY <= 10)); then - if [[ "${STATUS}" == "Charging" ]]; then + if [[ "${STATUS}" == "Charging" || "${STATUS}" == "Not charging" || "${STATUS}" == "Full" ]]; then ICON="󰢜 " else ICON="󰁺 " fi elif ((CAPACITY <= 30)); then - if [[ "${STATUS}" == "Charging" ]]; then + if [[ "${STATUS}" == "Charging" || "${STATUS}" == "Not charging" || "${STATUS}" == "Full" ]]; then ICON="󰂇 " else ICON="󰁼 " fi elif ((CAPACITY <= 60)); then - if [[ "${STATUS}" == "Charging" ]]; then + if [[ "${STATUS}" == "Charging" || "${STATUS}" == "Not charging" || "${STATUS}" == "Full" ]]; then ICON="󰂉 " else ICON="󰁿 " fi elif ((CAPACITY <= 80)); then - if [[ "${STATUS}" == "Charging" ]]; then + if [[ "${STATUS}" == "Charging" || "${STATUS}" == "Not charging" || "${STATUS}" == "Full" ]]; then ICON="󰂊 " else ICON="󰂁 " fi else - if [[ "${STATUS}" == "Charging" ]]; then + if [[ "${STATUS}" == "Charging" || "${STATUS}" == "Not charging" ]]; then ICON="󰂅 " else ICON="󰁹 "