nimdow icon indicating copy to clipboard operation
nimdow copied to clipboard

Easier configuration for status bar

Open dakyskye opened this issue 5 years ago • 4 comments

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]

dakyskye avatar Jun 18 '20 13:06 dakyskye

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

avahe-kellenberger avatar Aug 15 '20 07:08 avahe-kellenberger

I think that using xsetroot is better

uninhm avatar Jun 02 '21 04:06 uninhm

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

PMunch avatar Aug 12 '21 11:08 PMunch

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.

avahe-kellenberger avatar Aug 18 '21 13:08 avahe-kellenberger