-
-
Save cobodo/598afa767b83e13910b2f5a29e3f3f45 to your computer and use it in GitHub Desktop.
選択されたTweetをブラウザで見るmikutterプラグイン
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
# -*- coding: utf-8 -*- | |
# statusを開く | |
Plugin.create :open_status do | |
command(:open_status, | |
name: 'このTweetをブラウザで見る', | |
condition: Plugin::Command[:HasMessage], | |
visible: true, | |
role: :timeline) do |opt| | |
opt.messages.each do |m| | |
Gtk.openurl("https://twitter.com/#{m.user.idname}/status/#{m.id}") | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
なぜ途中でバイナリになったのか……