rmakinn / menu-surfraw

Use Surfraw on Rofi/Dmenu

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Menu Surfraw

A short little Bash script that uses rofi or dmenu to prompt you for an Elvis and a search term with surfraw.

Installation

This'll work anywhere. You could place it in ~/.local/bin or /usr/bin and have it built into dmenu, I use it in i3 with this line in my configuration: bindsym $mod+Mod1+space exec ~/.dotfiles/menu-surfraw, it's up to you!

Preview

Menu Surfraw Preview

Usage

menu-surfraw [OPTIONS] [ELVIS [SEARCHTERM]]

OPTIONS:
  -h, --help	Displays this message

ELVIS:
    This is the same as surfraw, any Elvis you have installed. Can be left
    blank, as you will be prompted for this in dmenu/rofi.

SEARCHTERM:
    Again, the same as surfraw, the term you are searching for. Can also be
    left blank as you will be prompted for this in dmenu/rofi.

Dependencies

  • Dmenu
  • Surfraw
  • Rofi (optional)

License

Do what you like, this script makes use of Unlicense so it's essentially public domain!

About

Use Surfraw on Rofi/Dmenu

License:The Unlicense


Languages

Language:Shell 100.0%