fix conky_toggle
parent
386f393299
commit
0d17d89409
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
SESSIONFILE=$HOME/.config/conky/conky-sessionfile
|
SESSIONFILE=$HOME/.config/conky/conky-sessionfile
|
||||||
while read -r line; do
|
while read -r line; do
|
||||||
THIS_CONKY=$(echo $line | awk '{print $3}')
|
THIS_CONKY=$(echo "${line##+([[:space:]])}" | awk '{print $3}')
|
||||||
CONKYRC=${THIS_CONKY//\'/}
|
CONKYRC=${THIS_CONKY//\'/}
|
||||||
|
|
||||||
if ! pgrep -f "${CONKYRC//\~/}"
|
if ! pgrep -f "${CONKYRC//\~/}"
|
||||||
|
|
Loading…
Reference in New Issue