Last active
August 29, 2015 14:04
-
-
Save lukaszkorecki/6b4dda8057abd08678e3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
sub on_add_lines { | |
my ($self, $str) = @_; | |
# my ($match) = $str =~ /ukasz/ge | |
if ($str =~ /[\@]?Łukasz|Lukasz/) { | |
`notify-send -t 200 Mention '#{$str}'` | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment