Comments (7)
Yeah, I've thought about this idea too. I would like to have a battery indicator myself. Some form of "periodically run this command, display the result in this place" would be one way to do it; it probably fits with the spirit of swaylock-effects better than an out-of-the-box battery indicator. Combined with the compose effect, it should be pretty flexible.
I would want it to be possible to run multiple status commands though, in different places. That means designing the command line interface for adding a status command, specifying a position, a color, etc. would be a bit challenging, it should be doable.
from swaylock-effects.
That would be pretty good actually so that we could add custom modules similarly to the way they work in Waybar. Even better if it took waybar custom module output format so that we could reuse stuff like so:
https://github.com/luispabon/sway-dotfiles/blob/master/configs/waybar/modules/cpu_speed.sh
https://github.com/luispabon/sway-dotfiles/blob/master/configs/waybar/modules/powermenu.sh
from swaylock-effects.
Yes! That would be an awesome feature! One I would gladly help to contribute to. It would be awesome if we also had CSS styling capabilities. I don't know how much that would fit in the project scope
from swaylock-effects.
+1 for Waybar. I'd love an area on the lock screen showing media playing with a pause/play button. I often stupidly leave Spotify playing when leaving machine, meaning I need to unlock just to stop the music.
from swaylock-effects.
+1 for Waybar. I'd love an area on the lock screen showing media playing with a pause/play button. I often stupidly leave Spotify playing when leaving machine, meaning I need to unlock just to stop the music.
I sometimes intentionally leave my music playing while not otherwise using my computer. For that, it would be great to be able to play/pause/skip from the lock screen without having to unlock first.
from swaylock-effects.
If you do not mind using a key binding, sway can be instructed to trigger key bindings even on the lock screen with the addition of --locked
when defining the key binding.
from swaylock-effects.
A year on, any update on this? Being able to see my battery level from the lockscreen would be amazing - even if it was just implemented to allow customisation of the current clock text
EDIT: just realised this isn't the current repo
from swaylock-effects.
Related Issues (20)
- Feature Request: Merge swaylock-mobile HOT 2
- CPU maxed out when running in different TTY
- new effect suggestion: dim HOT 1
- Getting "ext_session_lock_surface_v1@21: error 0: session lock surface has never been configured" after shutting down while locked HOT 3
- Make indicator and image appear simultaneously
- Indicator ring squished in Hyprland HOT 3
- Clock showing UTC instead of local timezone HOT 1
- Have a error code when run swaylock HOT 1
- 100% CPU usage when running swaylock HOT 3
- After updating archlinux to the latest version, a core dumped appears HOT 4
- Coredump when using dpms HOT 2
- Compositor does not support the input inhibitor protocol, refusing to run insecurely HOT 11
- Sugestion - greeter
- Locked account after 3 failed login
- Feature Request : looping custom effects
- unrecognized option? ._. HOT 3
- swaylock --screenshots does not work. HOT 4
- Lockscreen can be unlocked when entering very long password HOT 1
- Doesn't work with latest sway version HOT 14
- Screen flashes when using fade-in
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swaylock-effects.