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

Passing arguments to cmd in session config file. #66

Open
atmughrabi opened this issue Jan 6, 2023 · 1 comment
Open

Passing arguments to cmd in session config file. #66

atmughrabi opened this issue Jan 6, 2023 · 1 comment
Labels
new feature New feature or request

Comments

@atmughrabi
Copy link

Can we pass arguments to our session command, for example?

"cmd": [
"/usr/bin/tilix --session saved_session.json",
"--gapplication-service"
],

This seems to have no effect.

Thank you!

@nlpsuge
Copy link
Owner

nlpsuge commented Jan 7, 2023

This seems to have no effect.

{
    "cmd": [
        "/opt/microsoft/msedge/msedge"
    ],
    "desktop_file_id": "microsoft-edge.desktop",
    "desktop_file_id_full_path": "/usr/share/applications/microsoft-edge.desktop"
}

For the above session config, AWSM will use desktop_file_id instead of cmd. Unless desktop_file_id is empty, which indicates the app is window-backed and it does not have a .desktop file, AWSM will execute cmd to run the app.

You session config should have desktop_file_id, so AWSM won't execute cmd.

@nlpsuge nlpsuge added the new feature New feature or request label Feb 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants