greshake / i3status-rust

Very resourcefriendly and feature-rich replacement for i3status, written in pure Rust
GNU General Public License v3.0
2.88k stars 475 forks source link

Provide a default config file paths #465

Closed roipoussiere closed 4 years ago

roipoussiere commented 5 years ago

i3status-rs could look in default paths if no configuration file is given in CLI arguments.

Suggested paths:

atheriel commented 5 years ago

I'm supportive of this, although I think i3status-rust would be preferred over i3status-rs. Reading from $XDG_CONFIG_HOME is actually implemented in #366, and could be integrated into the CLI pretty easily.

However, it is possible that @greshake had a reason at the time for requiring that the path is explicitly passed to the CLI, and he may object.