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

Simplify config regeneration. #31

Open
android-808 opened this issue Nov 28, 2012 · 2 comments
Open

Simplify config regeneration. #31

android-808 opened this issue Nov 28, 2012 · 2 comments

Comments

@android-808
Copy link
Collaborator

This is a feature I'd originally planned for my GUI project, but I feel it may be better integrated into the main application.

When a user updated there version of conky-colors, they are required to regenerate the conkyrc file to integrate any fixes or font changes. This requires the user to remember all options parsed to the executable. I would like to propose an extra section at the end of options.c or somewhere similar that outputs the command line argument to a shell script contained within the ~/.conkycolors directory. On updating conky-colors, this file would just need to be executed.

@helmuthdu
Copy link
Owner

i think we can store the argv[], then print it later, not a big deal. I will try this tomorow at work.

@android-808
Copy link
Collaborator Author

yeah, that'll do. just a simple file with #!/bin/sh followed by conky-colors ... Either that or just output options in to a file so you can run: cat optionsfile | conkycolors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants