Giter Site home page Giter Site logo

Comments (7)

mortie avatar mortie commented on June 26, 2024 3

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.

luispabon avatar luispabon commented on June 26, 2024

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.

kriive avatar kriive commented on June 26, 2024

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.

evilrobot-01 avatar evilrobot-01 commented on June 26, 2024

+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.

Thra11 avatar Thra11 commented on June 26, 2024

+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.

FlorianFranzen avatar FlorianFranzen commented on June 26, 2024

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.

Cornelius-Figgle avatar Cornelius-Figgle commented on June 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.