update cliphist viewer

This commit is contained in:
2026-02-06 11:05:58 +01:00
parent 0a22b936b1
commit f3a6bd1ddb
5 changed files with 5 additions and 276 deletions
+3 -1
View File
@@ -2,8 +2,10 @@
# Description:
# ~~Quick~~ snippet for cliphist + rofi + wl-copy
#
# Credit: https://github.com/sentriz/cliphist/blob/master/contrib/cliphist-rofi-img
tmp_dir="/tmp/cliphist"
tmp_dir=$(mktemp -d)
trap 'rm -rf "$tmp_dir"' EXIT
mkdir -p "$tmp_dir"