Krolyxon
Commit 55bce58

Branches

Refs →

dotfiles-x11.localbinwrdm

9 lines · 270 B · Bourne Again Shell (bash)

1#!/bin/sh
2
3# word=$(dmenu -p "Enter Word: " <&-)
4word=$(cat ~/.local/bin/words.txt | dmenu -l 25 -p "Choose Word: ")
5#$BROWSER https://www.merriam-webster.com/dictionary/$word
6if [[ -n $word ]]; then
7 $BROWSER "https://www.google.com/search?hl=en&q=define+$word"
8fi
9