Files
hyprland/config/hypr/scripts/ClipManager.sh
T
2024-01-07 22:32:54 +05:45

10 lines
233 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-long.rasi | cliphist decode | wl-copy
else
pkill rofi
fi