Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Easier configuration for status bar #56

Open
dakyskye opened this issue Jun 18, 2020 · 4 comments
Open

Easier configuration for status bar #56

dakyskye opened this issue Jun 18, 2020 · 4 comments
Labels
enhancement New feature or request low priority

Comments

@dakyskye
Copy link
Contributor

Probably, define status bar commands etc. stuff in config file, or have a separate program (or command line argument) like dwmblocks or i3blocks to config it easier. An example config:

separator = ' | '

[[modules]]
name = 'kernel'
prefix = ''

[modules.label]
text = ''

[modules.label.command]
cmd = 'uname -r | cut -c1-5'
interval = 0

[[modules]]
name = 'updates'
prefix = ''

[modules.label]
text = ''

[modules.label.command]
cmd = 'pacman -Qu | wc -l'
interval = 1000

[[modules]]
name = 'custom text'
prefix = ''

[modules.label]
text = 'my custom text!'

[modules.label.command]
@avahe-kellenberger
Copy link
Owner

Not sure how much I care to implement this, since it can be handled by other programs. I'll think about it.

@avahe-kellenberger avahe-kellenberger added the enhancement New feature or request label Aug 15, 2020
@uninhm
Copy link
Contributor

uninhm commented Jun 2, 2021

I think that using xsetroot is better

@PMunch
Copy link
Collaborator

PMunch commented Aug 12, 2021

I agree that xsetroot is better, but writing this as a separate program would be pretty cool.

@avahe-kellenberger
Copy link
Owner

As things have become a bit more complicated/involved with the status bar, I agree creating a little program to handle this would be fun and useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request low priority
Projects
None yet
Development

No branches or pull requests

4 participants