Giter Club home page Giter Club logo

Comments (6)

kb100 avatar kb100 commented on June 17, 2024

I am happy to do this. I will probably get it done this weekend.

I will keep the names of all the default blocklets as they appear in the main repo now. I will rename conflicting named blocklets in the contrib repo. For config files, what naming convention would you like? Just config or i3blocks.conf or something else? I will also read your other issue more carefully soon.

As a side note, some of the blocklets require compilation (bandwidth2 comes to mind, I will have to check if any others do) so just keep that in mind in case a package maintainer needs to coordinate.

Also, some blocklets require outside dependencies, another fact that requires no specific action at the moment but is relevant for maintainers to keep in mind.

from i3blocks-contrib.

vivien avatar vivien commented on June 17, 2024

Thanks @kb100. Let's hold on this until we figure out what is the best thing to do for default scripts in #121.

from i3blocks-contrib.

vivien avatar vivien commented on June 17, 2024

I think we are good to go. What I'll do next is providing an helpful message directly in the status bar if there is no config file found or no blocklet, so that running i3blocks the first time won't feel like an error to the users.

For config files, what naming convention would you like? Just config or i3blocks.conf or something else?

I think we must use something which avoids any conflict with the user configuration and updates (e.g. git pull). The simplest step I can think of after installing i3blocks for a lazy user is:

$ git clone [email protected]:vivien/i3blocks-contrib.git ~/.config/i3blocks
$ cd ~/.config/i3blocks
$ cp config.example config
$ i3-msg restart

So I'd suggest a suffixed name like config.example to encourage users to copy it and avoid conflicts in the future. What do you think?

from i3blocks-contrib.

kb100 avatar kb100 commented on June 17, 2024

I think a config.example or perhaps even a few example configs minimal_config.example, etc. could be used. What about the configs provided in each blocklet directory though? Same convention with config.example?

from i3blocks-contrib.

vivien avatar vivien commented on June 17, 2024

Indeed we can imagine per-distro config files like debian.config.example using the apt-upgrade blocklet, etc. For the config files provided in each blocklet, there are unfortunately here just for documentation purpose, so I think keeping config is fine, that is up to you ;-)

from i3blocks-contrib.

kb100 avatar kb100 commented on June 17, 2024

All default scripts included.

from i3blocks-contrib.

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.