Skip to content

Commit

Permalink
ignore config from shellcheck
Browse files Browse the repository at this point in the history
Signed-off-by: Beau Hastings <[email protected]>
  • Loading branch information
hastinbe committed Dec 26, 2024
1 parent c1ee17a commit 239e858
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion volume
Original file line number Diff line number Diff line change
Expand Up @@ -1091,7 +1091,8 @@ setup_color() {
}

load_config() {
local config=${XDG_CONFIG_HOME:-$HOME/.config}/i3-volume/config
local -r config=${XDG_CONFIG_HOME:-$HOME/.config}/i3-volume/config
# shellcheck source=/dev/null
[[ -f $config ]] && source "$config"

# Set defaults if not defined in config
Expand Down

0 comments on commit 239e858

Please sign in to comment.