shellcheck fixes after sorting notifications menu
This commit is contained in:
parent
0c2b11c2f3
commit
9346bf6e15
1 changed files with 2 additions and 1 deletions
|
@ -3,7 +3,8 @@ NOTIFDIR="$XDG_DATA_HOME"/sxmo/notifications
|
|||
|
||||
notificationmenu() {
|
||||
CHOICES="Close Menu\nClear Notifications"
|
||||
for NOTIFFILE in $(ls -tr $NOTIFDIR); do
|
||||
# shellcheck disable=SC2045
|
||||
for NOTIFFILE in $(ls -tr "$NOTIFDIR"); do
|
||||
NOTIFMSG="$(tail -n+3 "$NOTIFDIR/$NOTIFFILE" | tr "\n^" " ")"
|
||||
NOTIFHRANDMIN="$(stat --printf %y "$NOTIFDIR/$NOTIFFILE" | grep -oE '[0-9]{2}:[0-9]{2}')"
|
||||
CHOICES="
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue