2 changed files with 12 additions and 4 deletions
@ -0,0 +1,10 @@ |
|||||
|
#!/bin/sh |
||||
|
|
||||
|
# We use a script instead of an alias because we want this utility in our path, |
||||
|
# usable from dmenu |
||||
|
|
||||
|
if ! which dragon-drag-and-drop > /dev/null 2>&1; then |
||||
|
echo "Error: dragon-drag-and-drop isn't installed!" | tee /dev/fd/2 | xargs -n1 -d "\n" notify-send |
||||
|
fi |
||||
|
|
||||
|
dragon-drag-and-drop $* |
||||
@ -1,5 +1,3 @@ |
|||||
text/html; unshare -n -r w3m -I %{charset} -T text/html; copiousoutput; |
text/html; unshare -n -r w3m -I %{charset} -T text/html; copiousoutput; |
||||
image/*; mutt_bgrun /usr/bin/feh -. %s; test=test -n "$DISPLAY" |
image/*; mutt_bgrun /usr/bin/feh --action1 ";dragon -x '\%F'" -. %s; test=test -n "$DISPLAY" |
||||
#application/pdf; /usr/local/bin/mutt_bgrun /usr/bin/evince %s; test=test -n "$DISPLAY" |
application/pdf; mutt_bgrun /usr/bin/zathura %s; test=test -n "$DISPLAY" |
||||
application/pdf; evince %s; test=test -n "$DISPLAY" |
|
||||
|
|
||||
|
|||||
Loading…
Reference in new issue