Skip to content

Instantly share code, notes, and snippets.

@teshi04
Last active December 15, 2015 15:08
Show Gist options
  • Save teshi04/5279075 to your computer and use it in GitHub Desktop.
Save teshi04/5279075 to your computer and use it in GitHub Desktop.
ブラウザで天使私服テツヤを表示するmikutterプラグイン
#-*- coding: utf-8 -*-
Plugin.create :tetsuya_gazou do
command(:tetsuya_gazou,
name: '天使私服テツヤを表示する',
condition: lambda{ |opt| true },
visible: true,
role: :window) do |opt|
baseurl = 'http://twitpic.com/celd93'
Plugin.call(:update, nil, [Message.new(message: "ブラウザで天使私服テツヤをを表示します", system: true)])
Gtk::openurl (baseurl)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment