mirror of
https://codeberg.org/hyperreal/bin
synced 2024-11-01 16:43:08 +01:00
15 lines
406 B
Bash
Executable File
15 lines
406 B
Bash
Executable File
#!/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 -n 0 -c | rofi -dmenu -format i -i -sep nul -p "Clipster"
|