mirror of
https://codeberg.org/hyperreal/bin
synced 2024-11-25 10:23:42 +01:00
Add roficlipster and rofisearch
This commit is contained in:
parent
51d4b2368f
commit
3d3bfb038b
14
roficlipster
Executable file
14
roficlipster
Executable 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
5
rofisearch
Executable 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={}"
|
Loading…
Reference in New Issue
Block a user