diff options
| author | aditya-an1l <aditya.anil.productions@gmail.com> | 2025-05-22 11:08:00 +0530 |
|---|---|---|
| committer | aditya-an1l <aditya.anil.productions@gmail.com> | 2025-05-22 11:08:00 +0530 |
| commit | 6594a935a8c0c4b3bc90e6d5f5d74829c06c53f7 (patch) | |
| tree | a2a62e4c8c2ded02e416de3b7bbc138d3dc7a81e /config/hypr/hyprlock.conf | |
| parent | 73f3aebcb112379ec1c4c604b74e3d88020c5137 (diff) | |
feat: Add Power Info (level and status) in Hyprlock Window
- Display current power level (battery percentage) and power status
(full, charging, discharging) at the bottom right section of Hyprlock
- This feature allows laptop user to view the power info when their
device are locked, especially if the device is getting discharged.
Diffstat (limited to 'config/hypr/hyprlock.conf')
| -rw-r--r-- | config/hypr/hyprlock.conf | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/config/hypr/hyprlock.conf b/config/hypr/hyprlock.conf index a0d075cb..5222138a 100644 --- a/config/hypr/hyprlock.conf +++ b/config/hypr/hyprlock.conf @@ -156,6 +156,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 |
