Files
hyprland/config/hypr/scripts/ClipManager.sh
T
2023-12-30 21:19:06 +05:45

10 lines
188 B
Bash
Executable File

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