#!/usr/bin/env bash # For debugging/development purposes # PREFIX=projects/samfelag/config/ # Rofi command to pipe into, can add any options here dir="$HOME/$PREFIX.config/rofi/menus/cliphist/" theme='cliphist' rofi_command="rofi -dmenu -i -theme ${dir}/${theme}.rasi" cliphist list | $rofi_command | cliphist decode | wl-copy