Krolyxon
Commit 0601fcc

Branches

Refs →

dotfiles-x11.localbinwrdm

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

1#!/bin/env bash
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