Coder Social home page Coder Social logo

Comments (6)

haideralipunjabi avatar haideralipunjabi commented on July 18, 2024

I will look into it. Meanwhile, what happens if you just use KDEConnect and not my module?

from polybar-kdeconnect.

naib864 avatar naib864 commented on July 18, 2024

KDEConnect itself runs smoothly as far as I can see. I don't use tray icons in my polybar, so it's just running in the background without it's icon.

from polybar-kdeconnect.

haideralipunjabi avatar haideralipunjabi commented on July 18, 2024

I still can't figure out the issue. The only thing I can recommend is removing tail=true from the module configuration. The tail=true config executes the script in an infinite loop. Without it, it should refresh every 5 seconds. You can change the refresh interval using the interval config.

Read More

from polybar-kdeconnect.

naib864 avatar naib864 commented on July 18, 2024

Thanks, will try that. Interesting thing: I only get the High CPU usage on Ubuntu. On Arcolinux CPU usage is fine. But I get an error that it doesn't find the module org.kde.kdeconnect.device.battery. Probably an issue with kdeconnect rather than this module, though.

from polybar-kdeconnect.

haideralipunjabi avatar haideralipunjabi commented on July 18, 2024

The couldn't find the module is a new issue due to an update to kdeconnect. I have fixed it yesterday. Use the latest code and it should work fine.

from polybar-kdeconnect.

naib864 avatar naib864 commented on July 18, 2024

Thanks, both things suggested worked, whole script works as intended now :)
tail=false and interval=1 brings idle cpu usage back to normal.

from polybar-kdeconnect.

Related Issues (17)

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.