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 for window state and tab tiling #164

Open
Alloc86 opened this issue May 1, 2024 · 0 comments
Open

Command line options for window state and tab tiling #164

Alloc86 opened this issue May 1, 2024 · 0 comments

Comments

@Alloc86
Copy link

Alloc86 commented May 1, 2024

For automation purposes I hacked my local binary to allow to run SnakeTail maximized and with vertical tiling of tabs. I think these might be useful for others too, possibly extended and/or cleaned up ;)

I changed MainForm.MainForm_Shown to have these additional branches for command line parsing:

else if (commandLineArgs[i] == "-maximize")
{
	base.WindowState = FormWindowState.Maximized;
}
else if (commandLineArgs[i] == "-tile-vertically")
{
	this.tileWindowsVerticallyToolStripMenuItem_Click(null, null);
}
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

1 participant