francma / wob

A lightweight overlay volume/backlight/progress/anything bar for Wayland.
ISC License
911 stars 50 forks source link

add parse_config_from_environment #71

Closed bretello closed 2 years ago

bretello commented 3 years ago

I guess this will also requires patching the PKGBUILD in the archlinux's community repos to install the systemd units

bretello commented 3 years ago

I'm guessing this also relates to #61

francma commented 3 years ago

add wob_parse_config_from_environment to parse configuration values from environment variables

There is already an issue regarding .ini file configuration https://github.com/francma/wob/issues/66. Parsing config from environment variables will get pretty messy once per output configuration is implemented (that also applies for cli options).

add systemd units examples (wob.service reads configuration from environment from ~/.config/wob.conf)

Looks good, please make a separate PR.

use #RRGGBBAA syntax for colors instead of #AARRGGBBB (#70)

Looks good, please make a separate PR.

bretello commented 3 years ago

There is already an issue regarding .ini file configuration #66. Parsing config from environment variables will get pretty messy once per output configuration is implemented (that also applies for cli options).

Is there an active branch for this?

francma commented 2 years ago

Systemd service examples and changed color format are already merged in master.

Parsing from configuration files (which replaces this PR) is still work in progress in https://github.com/francma/wob/pull/78