Sha256: 9e129987671615224e31e38a931b6394c36689aab2d6be53d007913263d55902

Contents?: true

Size: 256 Bytes

Versions: 1

Compression:

Stored size: 256 Bytes

Contents

class Boom::Platform
  class Linux < Base
    def copy_command
      'xclip -selection clipboard'
    end

    def open item
      system "#{open_command} '#{item.url.gsub("\'","'\\\\''")}'"
    end

    def open_command
      "xdg-open"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
kaboom-0.3.3 lib/kaboom/platform/linux.rb