SwayNotificationCenter icon indicating copy to clipboard operation
SwayNotificationCenter copied to clipboard

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

Open RoccoRakete opened this issue 4 months ago • 1 comments

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 avatar Mar 12 '24 19:03 RoccoRakete