Skip to content

Commit da9a05e

Browse files
feature/custom-themes
1 parent 6999a95 commit da9a05e

File tree

2 files changed

+17
-12
lines changed

2 files changed

+17
-12
lines changed

scripts/colors.sh

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#!/usr/bin/env bash
2+
# setting the locale, some users have issues with different locales, this forces the correct one
3+
export LC_ALL=en_US.UTF-8
4+
5+
# Dracula Color Pallette
6+
white='#f8f8f2'
7+
gray='#44475a'
8+
dark_gray='#282a36'
9+
light_purple='#bd93f9'
10+
dark_purple='#6272a4'
11+
cyan='#8be9fd'
12+
green='#50fa7b'
13+
orange='#ffb86c'
14+
red='#ff5555'
15+
pink='#ff79c6'
16+
yellow='#f1fa8c'

scripts/dracula.sh

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ export LC_ALL=en_US.UTF-8
44

55
current_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
66
source $current_dir/utils.sh
7+
source $(get_tmux_option "@dracula-colors" "$current_dir/colors.sh")
78

89
main()
910
{
@@ -36,18 +37,6 @@ main()
3637
IFS=' ' read -r -a plugins <<< $(get_tmux_option "@dracula-plugins" "battery network weather")
3738
show_empty_plugins=$(get_tmux_option "@dracula-show-empty-plugins" true)
3839

39-
# 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'
5140

5241
# Handle left icon configuration
5342
case $show_left_icon in

0 commit comments

Comments
 (0)