parent
ccf9fb8ebd
commit
95fb38e73f
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/')
|
||||||
|
|
Reference in New Issue