OSDN Git Service
(root)
/
instantos
/
instantOS.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc9e8a0
)
instantnotify wrap lines
author
paperbenni
<paperbenni@gmail.com>
Sun, 19 Jul 2020 15:58:38 +0000
(17:58 +0200)
committer
paperbenni
<paperbenni@gmail.com>
Sun, 19 Jul 2020 15:58:38 +0000
(17:58 +0200)
programs/instantnotify
patch
|
blob
|
history
diff --git
a/programs/instantnotify
b/programs/instantnotify
index
b806920
..
f2dd910
100755
(executable)
--- a/
programs/instantnotify
+++ b/
programs/instantnotify
@@
-24,7
+24,7
@@
notifmenu() {
NREAD=$(tac notif.txt | notifmenu)
while [ -n "$NREAD" ]; do
- echo "$NREAD" | grep -o '(.*' |
+ echo "$NREAD" | grep -o '(.*' |
sed -e "s/.\{150\}/&\n/g" |
sed 's/^(\([0-9]*:[0-9]*\)) \[\(.*\)\] \(.*\) | \(.*\)/:g Application : \2\n \1\n \3\n \4\n /g ' |
sed 's/&/&/g' | sed '/^[^:]/s/^/>/g' | sed -e '$a:b Back\n:r Delete\n:y Close' |
instantmenu -c -l 18 -h -1 -q "notification" -bw 4 -a 4 >/tmp/notifications/selection