Fix missing dollar for variable in cmd_exists check (thanks to @hrhino for pointing out)

This commit is contained in:
Sebastian Sellmeier 2021-08-10 22:25:31 +02:00
parent c3fcd2d6f7
commit 46dc2ae6c4
No known key found for this signature in database
GPG key ID: 51E2BE0CCC826F98

View file

@ -22,7 +22,7 @@ init_config () {
description=""
i3lockcolor_bin="i3lock-color"
if ! cmd_exists "i3lockcolor_bin" && cmd_exists "i3lock"; then
if ! cmd_exists "$i3lockcolor_bin" && cmd_exists "i3lock"; then
i3lockcolor_bin="i3lock"
fi