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

Autocomplete themes #45

Open
arcolinuxz opened this issue Dec 22, 2021 · 1 comment
Open

Autocomplete themes #45

arcolinuxz opened this issue Dec 22, 2021 · 1 comment
Labels
bug Something isn't working documentation Improvements or additions to documentation good first issue Good for newcomers pri-med

Comments

@arcolinuxz
Copy link

Could it be possible to autocomplete the theme?

After typing "leftwm-theme update" we have a list of themes we can put in an array.

If we type then "leftwm-theme apply" and a letter and two tabs - it shows what themes start with the letter or autocompletes the theme name...
What to do with themes that have two words ---> new rule if space then change the "-"? What with capital letters? All in small letters?

Looking for the same functionality like on bash and bash-completion. Tab Tab and it autocompletes commands or folders or name.

@mautamu
Copy link
Member

mautamu commented Jan 10, 2022

This is indeed a nicety. I started working on this, but unfortunately it will likely take a bit of thinking about the best method to implement this for leftwm-theme. Tagging clap-rs/clap#1232

@mautamu mautamu added bug Something isn't working documentation Improvements or additions to documentation good first issue Good for newcomers pri-med labels Jan 10, 2022
mautamu added a commit to mautamu/leftwm-theme that referenced this issue Jan 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation good first issue Good for newcomers pri-med
Projects
None yet
Development

No branches or pull requests

2 participants