Comments (6)
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.
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.
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.
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.
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.
All default scripts included.
from i3blocks-contrib.
Related Issues (20)
- volume-pipewire is not able to forward default sink when clicked on HOT 1
- confusing formatting in rofi-calendar
- bandwidth2: missing dependency
- temperature block shows wrong temperature
- The cpu_usage2 blocklet isn't working HOT 1
- The blocklet battery-poly isn't working HOT 2
- only appears the clock with date
- key_layout doesn't work because it doesn't output a \n at the end HOT 1
- Root Makefile errors
- Using Font Awesome 6 instead of Font Awesome 5 for dunst
- apt-upgrades
- Issue with Icons in volume-pipewire
- The memory2 block uses incorrect math to calculate ram usage HOT 1
- volume-pulseaudio higher than 100%
- calendar: calendar display at wrong position for different i3 bar position HOT 2
- [bandwidth] tailscale showing as "down"
- [volume_pulse] grep warning
- [mediaplayer] no output if metadata invalid
- [mediaplayer][rfc] make MPRIS a hard dependency?
- The module `cpu_usage2` doesn't compile with clang/llvm
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 i3blocks-contrib.