dotfiles/home/r0r5chach/.config/rofi/notidraw-menu/notidraw

7 lines
254 B
Plaintext
Executable File

opt=$(dunstctl history | jq '.data[][].message.data' | sed -ne 's/^"//' -ne 's/"//' -ne 's/\\n/ > /p' | rofi -config ~/.config/rofi/notidraw-menu/notidraw.rasi -p ">>> " -dmenu -markup-rows)
ret=$?
if [ "$ret" == "10" ]; then
dunstctl history-clear
fi