How to display a symbol similar to the undervoltage symbol on raspberry pi
How to display a symbol similar to the undervoltage symbol on raspberry pi
I want to display a symbol at the top right of one or both of my screens, similar to the lightning bolt symbol raspberry pi OS uses to indicate lack of power, when certain conditions are met.
I'm pretty sure i could cobble a bash script together to decide when to do it, but it's the actual displaying of the symbol i'm not sure where to start on. It would need to appear on top of anything else that may be on the screen at the time
Everything i have tried googling returns irrelevant results
What you are looking for is some kind of on screen display overlay.
I found this, see if it can be of any use : https://github.com/vascofazza/Retropie-open-OSD
8 0 Replylooks similar, i might be able to adapt something from this, thanks
3 0 Reply
would a notification work? notify-send seems like it could fit the bill.
2 0 ReplyMaybe write it as an GNOME or KDE plugin?
1 0 ReplyDoes it have to be an overlay or would a regular notification that pops up suffice? Those may be quite easy to write fir your chosen DE.
1 0 ReplyI tend to ignore the KDE notifications. i want something that will be on screen until i take certain mitigating actions
2 0 Reply
Why not just look at the lightning bolt code and use that?
1 2 Replynot sure where it is tbh
1 0 Reply