aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/hyprlock.conf
diff options
context:
space:
mode:
authorJa.KooLit <85185940+JaKooLit@users.noreply.github.com>2025-05-25 16:16:37 -0200
committerGitHub <noreply@github.com>2025-05-25 16:16:37 -0200
commitd9c558b45866503c6903a5286407a4efc692a4b1 (patch)
treea93146c0833dcd78f2204bf924c91c2bfbc12613 /config/hypr/hyprlock.conf
parent4478adb2b0c65fab3c43621d1bf76f14fd6aaae2 (diff)
parenta6f44a199e68859a8d9deb5225bbc342b093fa45 (diff)
Merge pull request #705 from aditya-an1l/power-display-hyprlock
feat: Display battery level and power status on lock screen
Diffstat (limited to 'config/hypr/hyprlock.conf')
-rw-r--r--config/hypr/hyprlock.conf12
1 files changed, 12 insertions, 0 deletions
diff --git a/config/hypr/hyprlock.conf b/config/hypr/hyprlock.conf
index 48b09b85..80a94fb1 100644
--- a/config/hypr/hyprlock.conf
+++ b/config/hypr/hyprlock.conf
@@ -157,6 +157,18 @@ label {
valign = bottom
}
+# battery
+label {
+ monitor =
+ text = cmd[update:1000] echo "<b> "$($Scripts/Power.sh)" </b>"
+ color = $color13
+ font_size = 18
+ font_family = Victor Mono Bold Oblique
+ position = 0, 30
+ halign = right
+ valign = bottom
+}
+
# weather edit the scripts for locations
# weather scripts are located in ~/.config/hypr/UserScripts Weather.sh and/or Weather.py
# see https://github.com/JaKooLit/Hyprland-Dots/wiki/TIPS#%EF%B8%8F-weather-app-related-for-waybar-and-hyprlock
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage