summaryrefslogtreecommitdiffstats
path: root/.scripts/dmenuarchwiki
diff options
context:
space:
mode:
Diffstat (limited to '.scripts/dmenuarchwiki')
-rwxr-xr-x.scripts/dmenuarchwiki17
1 files changed, 0 insertions, 17 deletions
diff --git a/.scripts/dmenuarchwiki b/.scripts/dmenuarchwiki
deleted file mode 100755
index 276b5eb..0000000
--- a/.scripts/dmenuarchwiki
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/sh
-
-# Gives a dmenu prompt to search the Arch Wiki in your preferred web browser
-# Home goes to the home page of the Arch Wiki
-# Anything else, it search it
-
-# Original idea/script by Github user @Caedis. Minor changes by Luke.
-
-pgrep -x dmenu && exit
-
-choice=$(echo "📖" | dmenu -i -p "Type ArchWiki page or search term:") || exit 1
-
-if [ "$choice" = "📖" ]; then
- $BROWSER "https://wiki.archlinux.org"
-else
- $BROWSER "https://wiki.archlinux.org/index.php?search=$choice"
-fi