1
0
mirror of https://github.com/alrayyes/dotfiles/ synced 2023-11-14 15:56:30 +00:00

fix: fix typo

This commit is contained in:
Ryan Kes 2022-10-09 18:42:55 +02:00
parent 81dac1aca5
commit 962898c123

View File

@ -6,7 +6,7 @@ function start_if_not_running
if [ (pgrep -u (id -u) -x "$PROCESS_NAME" | wc -l) -lt 1 ] 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] &" eval "$argv[1] &"
end end
end end
@ -15,7 +15,7 @@ end
###---Start app in alacritty if not running already---### ###---Start app in alacritty if not running already---###
function start_shell_if_not_running function start_shell_if_not_running
if [ (pgrep -u (id -u) -x $argv[1] | wc -l) -lt 1 ] 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] &" eval "alacritty --class $argv[1],$argv[1] -e $argv[1] &"
end end
end end