aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/ClipManager.sh
diff options
context:
space:
mode:
authorJaKooLit <jimmielovejay@gmail.com>2023-10-22 15:55:57 +0900
committerJaKooLit <jimmielovejay@gmail.com>2023-10-22 15:55:57 +0900
commitc222e1bad2ba5e779c3af5b956906c82ead43271 (patch)
treea5253e0861c200ff90354169e1f67ef42ebf0ef9 /config/hypr/scripts/ClipManager.sh
parentbb0be21dba7980fc1c047eaba24eda1712bd7f31 (diff)
Initial upload
Diffstat (limited to 'config/hypr/scripts/ClipManager.sh')
-rwxr-xr-xconfig/hypr/scripts/ClipManager.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/config/hypr/scripts/ClipManager.sh b/config/hypr/scripts/ClipManager.sh
new file mode 100755
index 00000000..135f75d4
--- /dev/null
+++ b/config/hypr/scripts/ClipManager.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+# WOFI STYLES
+CONFIG="$HOME/.config/wofi/WofiBig/config"
+STYLE="$HOME/.config/wofi/style.css"
+COLORS="$HOME/.config/wofi/colors"
+
+if [[ ! $(pidof wofi) ]]; then
+ cliphist list | wofi --show dmenu --prompt 'Search...' \
+ --conf ${CONFIG} --style ${STYLE} --color ${COLORS} \
+ --width=600 --height=400 | cliphist decode | wl-copy
+else
+ pkill wofi
+fi \ No newline at end of file
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage