From a153022b7d457466db9140c62dc5564f9de7a3af Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sun, 5 Nov 2023 14:02:06 +0900 Subject: changes for new Hyprland-Dots --- config/hypr/scripts/ClipManager.sh | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) (limited to 'config/hypr/scripts/ClipManager.sh') diff --git a/config/hypr/scripts/ClipManager.sh b/config/hypr/scripts/ClipManager.sh index a171b39c..8c4a1213 100755 --- a/config/hypr/scripts/ClipManager.sh +++ b/config/hypr/scripts/ClipManager.sh @@ -1,14 +1,10 @@ #!/bin/bash +# +# Clipboard Manager -# 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 +if [[ ! $(pidof rofi) ]]; then + #cliphist list | rofi -dmenu -config ~/.config/rofi/config-cliphist.rasi | cliphist decode | wl-copy + cliphist list | rofi -dmenu | cliphist decode | wl-copy else - pkill wofi -fi \ No newline at end of file + pkill rofi +fi -- cgit v1.2.3