Skip to content

TomboFry/menu-surfraw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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!

Releases

No releases published

Packages

No packages published

Languages