aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/ClipManager.sh
diff options
context:
space:
mode:
authorJa.KooLit <85185940+JaKooLit@users.noreply.github.com>2025-02-16 11:09:08 +0900
committerGitHub <noreply@github.com>2025-02-16 11:09:08 +0900
commit8acfbb16d5ef45960a13cb9768517d3c418771a6 (patch)
tree7b618f6cca7942c3d2876740fca3963092b2da21 /config/hypr/scripts/ClipManager.sh
parent349f564bf307ad1ed99c87d028fccdecf7c1bdeb (diff)
parent0c53ef536ca2f028672004e909daac5473e6110f (diff)
Merge pull request #556 from JaKooLit/development
Development to main feat. Rofi Themes
Diffstat (limited to 'config/hypr/scripts/ClipManager.sh')
-rwxr-xr-xconfig/hypr/scripts/ClipManager.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/config/hypr/scripts/ClipManager.sh b/config/hypr/scripts/ClipManager.sh
index 13f90a9e..1f82c616 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"
+msg='👀 **note** CTRL DEL = cliphist del (entry) or ALT DEL - cliphist wipe (all)'
# Actions:
# CTRL Del to delete an entry
# ALT Del to wipe clipboard contents
@@ -16,7 +19,8 @@ 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) \
+ -mesg "$msg"
)
case "$?" in
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage