parent
ccf9fb8ebd
commit
95fb38e73f
1 changed files with 2 additions and 1 deletions
3
neofetch
3
neofetch
|
@ -2926,7 +2926,8 @@ END
|
||||||
# Get Process ID of current konsole window / tab
|
# Get Process ID of current konsole window / tab
|
||||||
child="$(get_ppid "$$")"
|
child="$(get_ppid "$$")"
|
||||||
|
|
||||||
IFS=$'\n' read -d "" -ra konsole_instances < <(qdbus | grep -F 'org.kde.konsole')
|
IFS=$'\n' read -d "" -ra konsole_instances \
|
||||||
|
< <(qdbus | awk '/org.kde.konsole/ {print $1}')
|
||||||
|
|
||||||
for i in "${konsole_instances[@]}"; do
|
for i in "${konsole_instances[@]}"; do
|
||||||
IFS=$'\n' read -d "" -ra konsole_sessions < <(qdbus "$i" | grep -F '/Sessions/')
|
IFS=$'\n' read -d "" -ra konsole_sessions < <(qdbus "$i" | grep -F '/Sessions/')
|
||||||
|
|
Loading…
Reference in a new issue