Use system clipboard

This commit is contained in:
Jeffrey Serio 2023-08-19 23:35:03 -05:00
parent e3e7c653b3
commit f73e819049

View File

@ -11,4 +11,8 @@ if ! test -x "$(command -v clipster)"; then
chmod +x "${HOME}/.local/bin/clipster"
fi
clipster -n 0 -o -n 0 -c | rofi -dmenu -format i -i -sep nul -p "Clipster"
if ! test -x "$(command -v xclip)"; then
exit 1
fi
clipster -n 0 -o -n 0 -c | rofi -dmenu -format s -i -sep nul -p "Clipster" -theme-str 'window { width: 60em; }' | xclip -selection clipboard