summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorAyush Agarwal <ayush@fastmail.in>2022-02-16 22:35:11 +0530
committerAyush Agarwal <ayush@fastmail.in>2022-02-16 22:37:26 +0530
commit4f03711a317c2409fa420909cc6005aa1af8be1a (patch)
treee8f014190d58eb5dc381efd502b3770df5da2347 /.github/workflows
parentd4315c63b4defca0bbcee0668262cb596256badd (diff)
refactor!: initialize sane defaults, parse args
BREAKING CHANGE: the `-b` option has been changed to `-d` to make more sense. i know changes like these may annoy users but i didn't want to use a generic term like `--backend` for configuring dmenu programs. `--backend` is also confusing because tessen supports two kinds of backends now - pass backend and dmenu backend the `tmp_opts` variable was declare before in the parse_config option as a way to resolve a conflict when a user provides config files for rofi and wofi and ends up choosing rofi or wofi explicitly from the arguments. in that case, validate_backend would reset the list of dmenu_backend_opts variable to its defaults without the config file locations which are mentioned in the parse_config function since we've parsed the `-c` option before in parse_config, the `-c` option must be ignored in the main() function. we can't omit `-c` because then a user would get incorrect arg specified error.
Diffstat (limited to '.github/workflows')
0 files changed, 0 insertions, 0 deletions