commit 7d9c46a370e59adbda8d7f1e74177bd203881ef4 parent 92d584e4b305c1b6959c0d2e1e81d2b256fc6d7d Author: Chris Down <chris@chrisdown.name> Date: Sun, 19 Mar 2017 09:54:47 +0000 Pass args in dmenu/rofi shims Diffstat:
M | tests/test-clipmenu | | | 6 | +++++- |
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/tests/test-clipmenu b/tests/test-clipmenu @@ -39,7 +39,11 @@ shim() { # Cannot be an alias due to expansion order with $CM_LAUNCHER dmenu() { - SHIM_STDOUT="Selected text. (2 lines)" shim dmenu + SHIM_STDOUT="Selected text. (2 lines)" shim dmenu "$@" +} + +rofi() { + SHIM_STDOUT="Selected text. (2 lines)" shim rofi "$@" } alias xsel='shim xsel'