Add roficlipster and rofisearch

This commit is contained in:
Jeffrey Serio 2023-08-10 03:23:05 -05:00
parent 51d4b2368f
commit 3d3bfb038b
2 changed files with 19 additions and 0 deletions

14
roficlipster Executable file
View File

@ -0,0 +1,14 @@
#!/usr/bin/env bash
set -euo pipefail
if ! test -x "$(command -v clipster)"; then
if ! test -d "${HOME}/.local/bin"; then
mkdir "${HOME}/.local/bin"
fi
wget -q -O "${HOME}/.local/bin/clipster" https://raw.githubusercontent.com/mrichar1/clipster/master/clipster
chmod +x "${HOME}/.local/bin/clipster"
fi
clipster -n 0 -o -0 -c | rofi -dmenu -format i -i -sep nul -p "Clipster"

5
rofisearch Executable file
View File

@ -0,0 +1,5 @@
#!/usr/bin/env bash
set -euo pipefail
rofi -dmenu -p "Search" -theme-str 'window { width: 40em; height: 4em; }' | xargs -I{} xdg-open "https://www.google.com/search?q={}"