Giter Club home page Giter Club logo

Comments (6)

pattimcletchie avatar pattimcletchie commented on May 27, 2024

@unixorn can you assign this to me? I would like to try and tackle the issue for you.

from lima-xbar-plugin.

unixorn avatar unixorn commented on May 27, 2024

Done! Thanks for volunteering.

There are specs for the image at https://github.com/matryer/xbar-plugins/blob/main/CONTRIBUTING.md, I'd like something suitable for use with the image= tag.

It's going to have to fit in the menubar, so it can't be too complicated an image.

from lima-xbar-plugin.

pattimcletchie avatar pattimcletchie commented on May 27, 2024

@unixorn thank you for the specs. I plan on working on this tonight (US, central timezone). If I run into any questions I will ping you.

I look forward to contributing.

from lima-xbar-plugin.

unixorn avatar unixorn commented on May 27, 2024

Sounds great. Maybe have a red and a green version of the image so I can colorize the menubar icon based on whether there are any running Lima VMs.

Perhaps something inspired by the containerd icon? https://containerd.io/

from lima-xbar-plugin.

exculibar avatar exculibar commented on May 27, 2024

Since lima-plugin itself is a python script, we can easily modify its icons.

When you use Swiftbar, you can use sfimage= to set a SF Symbol as the icon.
For example, replace menuBarIcon = f"🐋 🏃 | color={RUNNING_VM_COLOR}" with menuBarIcon = f"| sfimage=externaldrive.fill.badge.checkmark".

When using Xbar, use image= to set the base64 value of the custom icon

Attached here is the effect after I modified it
41713680596_ pic
51713680640_ pic

from lima-xbar-plugin.

unixorn avatar unixorn commented on May 27, 2024

That looks great - please put in a PR, I'd love to add that to the plugin

from lima-xbar-plugin.

Related Issues (10)

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.