Files
hyprland/config/hypr/scripts/ClipManager.sh
T
2024-01-01 20:27:57 +05:45

10 lines
238 B
Bash
Executable File

#!/bin/bash
# Clipboard Manager. This needed cliphist & wl-copy and of course rofi
if [[ ! $(pidof rofi) ]]; then
cliphist list | rofi -dmenu -config ~/.config/rofi/config-clipboard.rasi | cliphist decode | wl-copy
else
pkill rofi
fi