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

[Bug] buttons-grid relative paths to scripts to execute. #401

Open
RoccoRakete opened this issue Mar 12, 2024 · 1 comment
Open

[Bug] buttons-grid relative paths to scripts to execute. #401

RoccoRakete opened this issue Mar 12, 2024 · 1 comment
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@RoccoRakete
Copy link

Describe the bug
Passing a relative Path to buttons-gridresults in Run_Script Error: Failed to execute child process “~/.dots/scripts/blepower.sh” (No such file or directory)

passing an absolute Path works.

To Reproduce

      "actions": [
        {
          "label": "",
          "command": "~/.dots/scripts/blepower.sh"
        },
        {
          "label": "",
          "command": "/home/martin/.dots/scripts/blepower.sh"
        }
      ]
    }

The first example won't work the second does.

Expected behavior
Relative paths should be possible

Desktop (please complete the following information):

  • OS: NixOS 24.05
@RoccoRakete RoccoRakete added the bug Something isn't working label Mar 12, 2024
@ErikReider ErikReider added the help wanted Extra attention is needed label Apr 15, 2024
@rtgiskard
Copy link

You need something like this: "command": "bash -c '~/path/to/the/script.sh'"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants