Skip to content

Commit 4ad2101

Browse files
committed
fixed typo in kitty_dropdown script
1 parent 41500cc commit 4ad2101

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/kitty_dropdown.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
my_term=kitty
1515

1616
# get terminal emulator and matching name pid ex: 44040485
17-
term_pid=$(pidof -S $'\n' $my_term | tail -n1)
17+
term_pid=$(pidof -s $'\n' ${my_term})
1818

1919
# check if the emulator window exists
2020
window_id=$(comm -12 <(xdotool search --pid "$term_pid") <(xdotool search --class "$my_term" | sort))

0 commit comments

Comments
 (0)