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

command line options #64

Open
absoluteshitlord opened this issue Jul 20, 2017 · 1 comment
Open

command line options #64

absoluteshitlord opened this issue Jul 20, 2017 · 1 comment

Comments

@absoluteshitlord
Copy link

Would be nice to have some options for starting vaccine from terminal.
e.g. vaccine --board g to start up on /g/ . This would be nice for keybindings.

@Prince781
Copy link
Member

https://valadoc.org/gio-2.0/GLib.Application.command_line.html
https://valadoc.org/gio-2.0/GLib.Application.handle_local_options.html

At first glance it looks like this would be easy to implement. One consideration: vaccine is currently a single-instance application. If vaccine is already running when it is executed, then either we should pass the command line flags to the primary instance of vaccine (to trigger a change) or ignore them altogether.

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

No branches or pull requests

2 participants