USAGE: runonce -c atom -e 'atom foo.txt' -s 'atom foo.txt'
-s server command
-c wm class
-e client command
if class not provided, deduce class by provided command
if window matching class exists:
switch to window
else:
if server command is provided:
execute server command
if client command is provided:
execute client command
if only class is provided, just switch to window
if only client command is provided, switch and execute
if nly server command is provided, switch or execute
if both client and server provided, {switch and execute client} or execute server
-
Notifications
You must be signed in to change notification settings - Fork 0
damaru/runonce
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Launch an app only once, or, switch to that app if it is already running
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published