abduco - allow complex commands

This commit is contained in:
Felix Van der Jeugt 2016-01-20 23:59:44 +01:00
parent 10f2fb6d2e
commit 9ebf085359
2 changed files with 4 additions and 2 deletions

View File

@ -1,2 +1,3 @@
#!/bin/bash
abduco | tail -n +2 | cut -f3 | dmenu | xargs --replace={} urxvtc -e abduco -a {}
session="$(abduco | tail -n +2 | cut -f3 | dmenu)"
urxvtc -e abduco -a "$session"

View File

@ -1,2 +1,3 @@
#!/bin/bash
dmenu_path | dmenu | xargs --replace={} urxvtc -e abduco -A {} {}
command="$(dmenu_path | dmenu)"
urxvtc -e abduco -A "$command" $command