Skip to content

Commit 1109c09

Browse files
Merge pull request #294 from omeyenburg/customize-colors
feature/customizable color codes
2 parents 6e3e5bf + 0ac3924 commit 1109c09

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

scripts/dracula.sh

+11-11
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,17 @@ main()
3737
show_empty_plugins=$(get_tmux_option "@dracula-show-empty-plugins" true)
3838

3939
# Dracula Color Pallette
40-
white='#f8f8f2'
41-
gray='#44475a'
42-
dark_gray='#282a36'
43-
light_purple='#bd93f9'
44-
dark_purple='#6272a4'
45-
cyan='#8be9fd'
46-
green='#50fa7b'
47-
orange='#ffb86c'
48-
red='#ff5555'
49-
pink='#ff79c6'
50-
yellow='#f1fa8c'
40+
white=$(get_tmux_option "@dracula-color-white" "#f8f8f2")
41+
gray=$(get_tmux_option "@dracula-color-gray" "#44475a")
42+
dark_gray=$(get_tmux_option "@dracula-color-dark_gray" "#282a36")
43+
light_purple=$(get_tmux_option "@dracula-color-light_purple" "#bd93f9")
44+
dark_purple=$(get_tmux_option "@dracula-color-dark_purple" "#6272a4")
45+
cyan=$(get_tmux_option "@dracula-color-cyan" "#8be9fd")
46+
green=$(get_tmux_option "@dracula-color-green" "#50fa7b")
47+
orange=$(get_tmux_option "@dracula-color-orange" "#ffb86c")
48+
red=$(get_tmux_option "@dracula-color-red" "#ff5555")
49+
pink=$(get_tmux_option "@dracula-color-pink" "#ff79c6")
50+
yellow=$(get_tmux_option "@dracula-color-yellow" "#f1fa8c")
5151

5252
# Handle left icon configuration
5353
case $show_left_icon in

0 commit comments

Comments
 (0)