Disable notification timeout
This commit is contained in:
parent
7e0f028611
commit
ca8f77f26a
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
notify-send Disks \
|
notify-send -t 0 Disks \
|
||||||
"$(lsblk -o NAME,SIZE,FSUSE%,MOUNTPOINT | grep -vP '^loop' | \
|
"$(lsblk -o NAME,SIZE,FSUSE%,MOUNTPOINT | grep -vP '^loop' | \
|
||||||
sed 's/MOUNTPOINT/MOUNT/' | sed -e 's/│ └─/+---/' | \
|
sed 's/MOUNTPOINT/MOUNT/' | sed -e 's/│ └─/+---/' | \
|
||||||
sed -e 's/ └─/+---/' | sed -e 's/├─/+-/' | sed -e 's/└─/+-/' | \
|
sed -e 's/ └─/+---/' | sed -e 's/├─/+-/' | sed -e 's/└─/+-/' | \
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
notify-send 'Memory Usage' "`free -h | \
|
notify-send -t 0 'Memory Usage' "`free -h | \
|
||||||
awk '{printf(\"%6s %6s %6s %6s\n\", $1, $2, $3, $4)}' | \
|
awk '{printf(\"%6s %6s %6s %6s\n\", $1, $2, $3, $4)}' | \
|
||||||
sed -r 's/(.*) shared$/ \1/'`"
|
sed -r 's/(.*) shared$/ \1/'`"
|
||||||
|
|
Loading…
Reference in New Issue