aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/ClipManager.sh
diff options
context:
space:
mode:
Diffstat (limited to 'config/hypr/scripts/ClipManager.sh')
-rwxr-xr-xconfig/hypr/scripts/ClipManager.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/config/hypr/scripts/ClipManager.sh b/config/hypr/scripts/ClipManager.sh
index 13f90a9e..642adb82 100755
--- a/config/hypr/scripts/ClipManager.sh
+++ b/config/hypr/scripts/ClipManager.sh
@@ -2,6 +2,9 @@
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# Clipboard Manager. This script uses cliphist, rofi, and wl-copy.
+# Variables
+rofi_theme="~/.config/rofi/config-clipboard.rasi"
+
# Actions:
# CTRL Del to delete an entry
# ALT Del to wipe clipboard contents
@@ -16,7 +19,7 @@ while true; do
rofi -i -dmenu \
-kb-custom-1 "Control-Delete" \
-kb-custom-2 "Alt-Delete" \
- -config ~/.config/rofi/config-clipboard.rasi < <(cliphist list)
+ -config $rofi_theme < <(cliphist list)
)
case "$?" in
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage