mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 13:46:41 +00:00
Fix typo with launching app if not running
This commit is contained in:
@@ -100,8 +100,8 @@ main() {
|
|||||||
win_id="${target[1]}"
|
win_id="${target[1]}"
|
||||||
|
|
||||||
if [ -z "$pid" ]; then
|
if [ -z "$pid" ]; then
|
||||||
echo "$OPT_PROC not running, launching with: \"$OPT_PROC\""
|
echo "$OPT_PROC not running, launching with: \"$OPT_BIN\""
|
||||||
"$OPT_PROC"
|
"$OPT_BIN"
|
||||||
else
|
else
|
||||||
echo "$OPT_PROC instance found"
|
echo "$OPT_PROC instance found"
|
||||||
focused_id="$(xdotool getactivewindow)"
|
focused_id="$(xdotool getactivewindow)"
|
||||||
|
|||||||
Reference in New Issue
Block a user