From 443c05a138336626213fec3facc4e254385c1a82 Mon Sep 17 00:00:00 2001 From: paperbenni Date: Tue, 31 Dec 2019 17:17:41 +0100 Subject: [PATCH] add pbnotify markup --- programs/pbnotify | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/programs/pbnotify b/programs/pbnotify index fff6970..1959ebe 100755 --- a/programs/pbnotify +++ b/programs/pbnotify @@ -13,7 +13,7 @@ if [ -e notif.txt ] && grep -q '....' >notifications.txt + sed -E "s/appname: '(.*)' summary: '(.*)' body: '(.*)'/"'[\1] | \2<\/i> | \3<\/b>/g' >>notifications.txt sort -u -o notifications.txt notifications.txt echo '' >notif.txt else @@ -25,9 +25,9 @@ fi [ -e notifications.txt ] && grep -q '....' >read.txt - NREAD=$(grep -F -x -v -f read.txt notifications.txt | rofi -dmenu -p notifications -kb-accept-entry 'x') + NREAD=$(grep -F -x -v -f read.txt notifications.txt | rofi -dmenu -i -p notifications -kb-accept-entry 'Alt+x' -markup-rows) done -- 2.11.0