AvengeMedia / AvengeMedia/dms-plugins
Dank Action not triggered
- Dominant language
- QML
- Stars
- 84
- Forks
- 25
- Avg merge
- 17h 11m
- Merged PRs (30d)
- 1
Description
I added a dank action to my bar, which works when i just send-notify something. But when I add my actual script that works in a terminal nothing happens. What do I do wrong? The command I add to the action is: `/home/me/.config/common/scripts/toggle-wvkbd.sh` and triggers the OSK.
The script looks like:
```
#!/bin/bash
WVKBD_PID="$(pgrep -f '.*wvkbd-deskintl.*')"
if [[ -n $WVKBD_PID ]]; then
killall wvkbd-deskintl
else
/usr/bin/wvkbd-deskintl -L 300 &
fi
```
Thanks!
Contributor guide
Research direction
Start by tracing how the Dank Action handles the working `send-notify` command versus the external `/home/me/.config/common/scripts/toggle-wvkbd.sh` entry point, then inspect the execution context used for the script. Done means the action reliably launches the supplied script and toggles `wvkbd-deskintl` as it does from a terminal.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bash
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100