feat: update information about dark256 & light256 themes
This commit is contained in:
parent
fec8ecdca4
commit
4a5d510c15
4 changed files with 100 additions and 37 deletions
|
@ -13,10 +13,6 @@ declate -a TMUX_CMDS
|
|||
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"
|
||||
readonly TMUX_GRUVBOX_STATUSBAR_ALPHA="@tmux-gruvbox-statusbar-alpha"
|
||||
|
@ -45,15 +41,15 @@ main() {
|
|||
case "$_theme" in
|
||||
light | light256)
|
||||
# shellcheck disable=1091
|
||||
source "${CURRENT_DIR}/src/palette_gruvbox_light.sh"
|
||||
source "${CURRENT_DIR}/src/palette_gruvbox_light256.sh"
|
||||
# shellcheck disable=1091
|
||||
source "${CURRENT_DIR}/src/theme_gruvbox_light256.sh"
|
||||
source "${CURRENT_DIR}/src/theme_gruvbox_light.sh"
|
||||
;;
|
||||
dark | dark256 | *)
|
||||
# shellcheck disable=1091
|
||||
source "${CURRENT_DIR}/src/palette_gruvbox_dark.sh"
|
||||
source "${CURRENT_DIR}/src/palette_gruvbox_dark256.sh"
|
||||
# shellcheck disable=1091
|
||||
source "${CURRENT_DIR}/src/theme_gruvbox_dark256.sh"
|
||||
source "${CURRENT_DIR}/src/theme_gruvbox_dark.sh"
|
||||
;;
|
||||
esac
|
||||
|
||||
|
@ -73,10 +69,10 @@ main() {
|
|||
|
||||
case $_theme in
|
||||
light | light256)
|
||||
theme_set_light_256 "${theme_args[@]}"
|
||||
theme_set_light "${theme_args[@]}"
|
||||
;;
|
||||
dark | dark256 | *)
|
||||
theme_set_dark_256 "${theme_args[@]}"
|
||||
theme_set_dark "${theme_args[@]}"
|
||||
;;
|
||||
esac
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
# separately.
|
||||
#
|
||||
# shellcheck disable=SC2154
|
||||
theme_set_dark_256() {
|
||||
theme_set_dark() {
|
||||
local _left_status_a _right_status_x _right_status_y _right_status_z _statusbar_alpha
|
||||
_left_status_a=$1
|
||||
_right_status_x=$2
|
|
@ -4,7 +4,7 @@
|
|||
# separately.
|
||||
#
|
||||
# shellcheck disable=SC2154
|
||||
theme_set_light_256() {
|
||||
theme_set_light() {
|
||||
local _left_status_value _right_status_value _window_status_current_format _window_status_format
|
||||
_left_status_a=$1
|
||||
_right_status_x=$2
|
Loading…
Add table
Add a link
Reference in a new issue