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

[FEATURE]: Shell-usage #361

Open
Stopuhr opened this issue Jul 8, 2024 · 1 comment
Open

[FEATURE]: Shell-usage #361

Stopuhr opened this issue Jul 8, 2024 · 1 comment
Assignees
Labels
new feature request For possible new features

Comments

@Stopuhr
Copy link

Stopuhr commented Jul 8, 2024

It would be nice, if one could start inkycal with arguments right from the shell.
This way, when not running in default mode, no changes have to be done to python-script, that have to be redone after updates etc.
Usage in crontab maybe easier. Looking at the code, I saw some arguments, that have to be passed explicitly through the python-scripts.

@aceisace aceisace added the new feature request For possible new features label Jul 9, 2024
@aceinnolab aceinnolab deleted a comment from github-actions bot Sep 7, 2024
@aceisace
Copy link
Member

aceisace commented Nov 7, 2024

@Stopuhr Hi there. I have some time to work on this today and wanted to ask you more about this feature request.

Generally, a purely argument-based command-line-tool makes it a bit difficult for users who do not know much about Terminal etc., especially since there are a lot of displays to choose from and the correct one has to be typed exactly for it to work. You could add help for each argument, but this would quickly bloat the script size and complexity and still not be as user-friendly.

The solution I want to implement is similar to the raspi-config tool available from the command-line (terminal gui or tui). You can then select a display by using the top or bottom arrows from the list of displays which is fetched directly from the Inkycal folder each time. For starters, I'm implementing some easier operations, like showing a demo image or calibrating the display. However, once this is implemented, I could implement a few more features in this tool.

Could you elaborate more on this part:
no changes have to be done to python-script, that have to be redone after updates etc.
Usage in crontab maybe easier. Looking at the code, I saw some arguments, that have to be passed explicitly through the python-scripts.

Thanks in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature request For possible new features
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants