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

7 lines
254 B
Plaintext
Raw Permalink Normal View History

2023-07-11 04:43:17 +00:00
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