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
looks similar, i might be able to adapt something from this, thanks
would a notification work? notify-send seems like it could fit the bill.
Does 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.
I tend to ignore the KDE notifications. i want something that will be on screen until i take certain mitigating actions
Why not just look at the lightning bolt code and use that?
not sure where it is tbh
Maybe write it as an GNOME or KDE plugin?