diff --git a/roficlipster b/roficlipster new file mode 100755 index 0000000..ecd0e0e --- /dev/null +++ b/roficlipster @@ -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" diff --git a/rofisearch b/rofisearch new file mode 100755 index 0000000..43d08b5 --- /dev/null +++ b/rofisearch @@ -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={}"