mirror of
https://github.com/hykilpikonna/hyfetch.git
synced 2026-08-22 00:35:26 -05:00
[PR] #235 from syimyuzya: Fix terminal font info for yakuake (again)
This commit is contained in:
4
neofetch
4
neofetch
@@ -4654,8 +4654,8 @@ END
|
||||
# Get Process ID of current konsole window / tab
|
||||
child="$(get_ppid "$$")"
|
||||
|
||||
# Loop while the process name is not "konsole"
|
||||
while [[ "$(ps -p "$(get_ppid "$child")" -o comm=)" != "konsole" ]]; do
|
||||
# Loop while the process name is not "konsole"/"yakuake"
|
||||
while [[ "$(ps -p "$(get_ppid "$child")" -o comm=)" != "$term" ]]; do
|
||||
# Get the parent process ID
|
||||
child="$(get_ppid "$child")"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user