From 962898c12396ec3b1ae07d102389df1342bc47dc Mon Sep 17 00:00:00 2001 From: Ryan Kes Date: Sun, 9 Oct 2022 18:42:55 +0200 Subject: [PATCH] fix: fix typo --- private_dot_config/bspwm/executable_bspwmrc.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/private_dot_config/bspwm/executable_bspwmrc.tmpl b/private_dot_config/bspwm/executable_bspwmrc.tmpl index bbed8e2..ba036fe 100644 --- a/private_dot_config/bspwm/executable_bspwmrc.tmpl +++ b/private_dot_config/bspwm/executable_bspwmrc.tmpl @@ -6,7 +6,7 @@ function start_if_not_running if [ (pgrep -u (id -u) -x "$PROCESS_NAME" | wc -l) -lt 1 ] - if.chassisType -q $argv[1] + if type -q $argv[1] eval "$argv[1] &" end end @@ -15,7 +15,7 @@ end ###---Start app in alacritty if not running already---### function start_shell_if_not_running if [ (pgrep -u (id -u) -x $argv[1] | wc -l) -lt 1 ] - if.chassisType -q $argv[1] + if type -q $argv[1] eval "alacritty --class $argv[1],$argv[1] -e $argv[1] &" end end