diff --git a/gruvbox-tpm.tmux b/gruvbox-tpm.tmux index b93207a..6d3946a 100755 --- a/gruvbox-tpm.tmux +++ b/gruvbox-tpm.tmux @@ -1,5 +1,6 @@ #!/usr/bin/env bash +# shellcheck disable=SC1091 source "./src/gruvbox-main.sh" # vim: ai et ft=bash diff --git a/src/gruvbox-main.sh b/src/gruvbox-main.sh index 9701c08..bfde3cd 100755 --- a/src/gruvbox-main.sh +++ b/src/gruvbox-main.sh @@ -9,9 +9,13 @@ readonly CURRENT_DIR declate -a TMUX_CMDS # load libraries +# shellcheck disable=1091 source "${CURRENT_DIR}/src/helper_methods.sh" +# shellcheck disable=1091 source "${CURRENT_DIR}/src/tmux_utils.sh" +# shellcheck disable=1091 source "${CURRENT_DIR}/src/theme_gruvbox_dark256.sh" +# shellcheck disable=1091 source "${CURRENT_DIR}/src/theme_gruvbox_light256.sh" readonly TMUX_GRUVBOX="@tmux-gruvbox" @@ -40,11 +44,15 @@ main() { case "$_theme" in light | light256) + # shellcheck disable=1091 source "${CURRENT_DIR}/src/palette_gruvbox_light.sh" + # shellcheck disable=1091 source "${CURRENT_DIR}/src/theme_gruvbox_light256.sh" ;; dark | dark256 | *) + # shellcheck disable=1091 source "${CURRENT_DIR}/src/palette_gruvbox_dark.sh" + # shellcheck disable=1091 source "${CURRENT_DIR}/src/theme_gruvbox_dark256.sh" ;; esac diff --git a/src/palette_gruvbox_dark.sh b/src/palette_gruvbox_dark.sh index dc87b89..5470ee8 100644 --- a/src/palette_gruvbox_dark.sh +++ b/src/palette_gruvbox_dark.sh @@ -11,6 +11,7 @@ # # The names of colors used from https://github.com/morhetz/gruvbox +# shellcheck disable=2034 # ignored as this file only contains var definitions col_bg=colour235 col_bg0_h=colour234 col_bg0=colour235 diff --git a/src/palette_gruvbox_light.sh b/src/palette_gruvbox_light.sh index bf9b75f..3949472 100644 --- a/src/palette_gruvbox_light.sh +++ b/src/palette_gruvbox_light.sh @@ -11,6 +11,7 @@ # # The names of colors used from https://github.com/morhetz/gruvbox +# shellcheck disable=2034 # ignored as this file only contains var definitions col_bg=colour229 col_bg0_h=colour230 col_bg0=colour229 diff --git a/src/theme_gruvbox_light256.sh b/src/theme_gruvbox_light256.sh index aaa5246..eb15f90 100644 --- a/src/theme_gruvbox_light256.sh +++ b/src/theme_gruvbox_light256.sh @@ -1,6 +1,9 @@ #!/bin/bash -# themes may use different colors in sets therefore we setup dark and light separately +# Themes may use different colors in sets therefore we setup dark and light +# separately. +# +# shellcheck disable=SC2154 theme_set_light_256() { local _left_status_value _right_status_value _window_status_current_format _window_status_format _left_status_a=$1