noctalia-shell icon indicating copy to clipboard operation
noctalia-shell copied to clipboard

[FEATURE] Battery widget for lock screen

Open Yocraft-2000 opened this issue 4 months ago • 2 comments

Submission checklist

  • [x] I have searched existing issues and confirmed this has not been requested before.
  • [x] I have checked existing pull requests for similar changes.

Feature type

UI / visual improvement

Feature summary

Add a battery widget for the lock screen.

Motivation / use case

I want to see my battery percentage when the screen is locked.

Proposed solution

Add a battery widget.

Alternatives considered

No response

References / related projects

No response

Additional context

No response

Yocraft-2000 avatar Jul 14 '26 09:07 Yocraft-2000

This would be very useful, as I like to check my laptop battery percentage without having to unlock it first.

Alternatively, the ability to add a widget that can run a shell cmd to update some display text would work as well. E.g. hyprlock has this feature:

label {
    monitor =
    text = cmd[update:10000] sh -c 'acpi -b | awk -F"[ ,%]" '\''{printf "%s%% %s\n", $5, ($3=="Charging"?"󰂄":"󰁹")}'\'''
    font_size = 25
    font_family = $font
    position = -30, -200
    halign = right
    valign = top
}

dommcdev avatar Jul 14 '26 17:07 dommcdev

I made a plugin : https://noctalia.dev/plugins/community/battery-widget

Yocraft-2000 avatar Aug 01 '26 20:08 Yocraft-2000