Skip to content

Commit

Permalink
bnw.im commands added to mcabberrc
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry Potapov committed Feb 14, 2014
1 parent 10d9539 commit 361cf85
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .mcabber/linkscommands
@@ -1,3 +1,3 @@
module load commands
add_custom_command ff .* https?://(?!(([a-zA-Z0-9_-]+[.])?(psto[.]net|point[.]im)))\S+ firefox "%s"
add_custom_command ff .* https?://(?!(([a-zA-Z0-9_-]+[.])?(psto[.]net|(point|bnw)[.]im)))\S+ firefox "%s"
add_custom_command feh .* https?://(?!(([a-zA-Z0-9_-]+[.])?psto[.]net))(\S+[.](?i)(jpe?g|png)|(img-fotki.yandex.ru/get/|pics.livejournal.com/\S+/pic/|l-userpic.livejournal.com)\S+|img.leprosorium.com/[0-9]\+) feh "%s"
7 changes: 7 additions & 0 deletions .mcabber/rcode/mcabberrc
Expand Up @@ -551,4 +551,11 @@ add_custom_command .b p@point.im [@][a-z0-9-]+ sh .mcabber/sayto p@point.im "bl
# open link on point.im
add_custom_command .o .* https?://([a-zA-Z0-9_-]+[.])?point[.]im/\S+ firefox "%s"

# show full post
add_custom_command bp bnw.im [A-Z0-9]{6} sh .mcabber/sayto bnw.im "s -r -m %s" rcode
# reply to post or reply
add_custom_command bc bnw.im [A-Z0-9]{6}(/[A-Z0-9]{3})? sh .mcabber/sayto bnw.im "c -m %s" rcode
# retweet post
add_custom_command br bnw.im [A-Z0-9]{6} sh .mcabber/sayto bnw.im "r -m %s" rcode

source ~/.mcabber/linkscommands

0 comments on commit 361cf85

Please sign in to comment.