convert all existing themes into .conf themes.

these are meant to eventually replace the older profiles
This commit is contained in:
speedie 2023-05-01 18:46:11 +02:00
parent 36345426ae
commit 594b06fa86
16 changed files with 623 additions and 52 deletions

View file

@ -1,4 +1,5 @@
#!/bin/bash #!/bin/bash
# spmenu build script
PREFIX="${PREFIX:-/usr}" PREFIX="${PREFIX:-/usr}"
DESTDIR="${DESTDIR:-}" DESTDIR="${DESTDIR:-}"
INCDIR="${INCDIR:-/usr/include}" INCDIR="${INCDIR:-/usr/include}"

View file

@ -376,7 +376,7 @@ conf_init(void)
} }
} }
// load options spmenu.xrdb // load options spmenu.file
config_setting_t *file_setting = config_lookup(&cfg, "spmenu.file"); config_setting_t *file_setting = config_lookup(&cfg, "spmenu.file");
if (file_setting != NULL) { if (file_setting != NULL) {
for (unsigned int i = 0; i < config_setting_length(file_setting); ++i) { for (unsigned int i = 0; i < config_setting_length(file_setting); ++i) {
@ -553,7 +553,7 @@ conf_init(void)
} }
} }
// load options spmenu.keys // load options spmenu.mouse
config_setting_t *mouse_setting = config_lookup(&cfg, "spmenu.mouse"); config_setting_t *mouse_setting = config_lookup(&cfg, "spmenu.mouse");
if (mouse_setting != NULL) { if (mouse_setting != NULL) {
for (unsigned int i = 0; i < config_setting_length(mouse_setting); ++i) { for (unsigned int i = 0; i < config_setting_length(mouse_setting); ++i) {

View file

@ -421,6 +421,16 @@ theme_load(void)
} }
} }
config_setting_t *file_setting = config_lookup(&cfg, "theme.file");
if (file_setting != NULL) {
for (unsigned int i = 0; i < config_setting_length(file_setting); ++i) {
config_setting_t *conf = config_setting_get_elem(file_setting, i);
// look up
config_setting_lookup_int(conf, "global", &globalcolors); // spmenu.file.global
}
}
// we're done here // we're done here
config_destroy(&cfg); config_destroy(&cfg);
return; return;

55
themes/Arc-Dark.conf Normal file
View file

@ -0,0 +1,55 @@
/* spmenu Arc Dark theme
* To apply, copy the file to ~/.config/spmenu/theme.conf, either using a profile manager or manually.
*/
theme = {
color = ( {
itemnormfg = "#d3dae3";
itemnormbg = "#383c4a";
itemselfg = "#000000";
itemselbg = "#73c5e2";
itemnormprifg = "#d3dae3";
itemnormpribg = "#383c4a";
itemselprifg = "#d3dae3";
itemselpribg = "#8ca9bf";
menu = "#383c4a";
promptfg = "#383c4a";
promptbg = "#fdc35f";
larrowfg = "#8ca9bf";
rarrowfg = "#8ca9bf";
larrowbg = "#383c4a";
rarrowbg = "#383c4a";
inputfg = "#d3dae3";
inputbg = "#383c4a";
numfg = "#383c4a";
numbg = "#add488";
normhlfg = "#4877b1";
normhlbg = "#383c4a";
selhlfg = "#63686d";
selhlbg = "#373c4a";
caretfg = "#fcfcfc";
border = "#e16f7e";
modefg = "#373c4a";
modebg = "#73c5e2";
capsfg = "#373c4a";
capsbg = "#e2afec";
sgr0 = "#4b5164";
sgr1 = "#e14245";
sgr2 = "#5ca75b";
sgr3 = "#f6ab32";
sgr4 = "#4877b1";
sgr5 = "#a660c3";
sgr6 = "#5294e2";
sgr7 = "#a9a9aa";
sgr8 = "#616981";
sgr9 = "#e16f7e";
sgr10 = "#add488";
sgr11 = "#fdc35f";
sgr12 = "#8ca9bf";
sgr13 = "#e2afec";
sgr14 = "#73c5e2";
sgr15 = "#fcfcfc";
} );
file = ( { global = 0; } );
};

55
themes/Catppuccin.conf Normal file
View file

@ -0,0 +1,55 @@
/* spmenu Catppuccin (Macchiato) theme
* To apply, copy the file to ~/.config/spmenu/theme.conf, either using a profile manager or manually.
*/
theme = {
color = ( {
itemnormfg = "#cad3f5";
itemnormbg = "#24273a";
itemselfg = "#181926";
itemselbg = "#91d7e3";
itemnormprifg = "#cad3f5";
itemnormpribg = "#24273a";
itemselprifg = "#181926";
itemselpribg = "#91d7e3";
menu = "#24273a";
promptfg = "#24273a";
promptbg = "#ED8796";
larrowfg = "#EED49F";
rarrowfg = "#EED49F";
larrowbg = "#24273a";
rarrowbg = "#24273a";
inputfg = "#B8C0E0";
inputbg = "#24273a";
numfg = "#24273a";
numbg = "#A6DA95";
normhlfg = "#8BD5CA";
normhlbg = "#494D64";
selhlfg = "#EED49F";
selhlbg = "#494D64";
caretfg = "#cad3f5";
border = "#8AADF4";
modefg = "#24273a";
modebg = "#F5BDE6";
capsfg = "#24273a";
capsbg = "#8AADF4";
sgr0 = "#494D64";
sgr1 = "#ED8796";
sgr2 = "#A6DA95";
sgr3 = "#EED49F";
sgr4 = "#8AADF4";
sgr5 = "#F5BDE6";
sgr6 = "#8BD5CA";
sgr7 = "#B8C0E0";
sgr8 = "#5B6078";
sgr9 = "#ED8796";
sgr10 = "#A6DA95";
sgr11 = "#EED49F";
sgr12 = "#8AADF4";
sgr13 = "#F5BDE6";
sgr14 = "#8BD5CA";
sgr15 = "#A5ADCB";
} );
file = ( { global = 0; } );
};

View file

@ -0,0 +1,55 @@
/* spmenu Cyberpunk Neon theme
* To apply, copy the file to ~/.config/spmenu/theme.conf, either using a profile manager or manually.
*/
theme = {
color = ( {
itemnormfg = "#0abdc6";
itemnormbg = "#000b1e";
itemselfg = "#000b1e";
itemselbg = "#0abdc6";
itemnormprifg = "#0abdc6";
itemnormpribg = "#000b1e";
itemselprifg = "#000b1e";
itemselpribg = "#d300c4";
menu = "#000b1e";
promptfg = "#000b1e";
promptbg = "#d300c4";
larrowfg = "#ff0000";
rarrowfg = "#ff0000";
larrowbg = "#000b1e";
rarrowbg = "#000b1e";
inputfg = "#0abdc6";
inputbg = "#000b1e";
numfg = "#000b1e";
numbg = "#00ff00";
normhlfg = "#0abdc6";
normhlbg = "#123e7c";
selhlfg = "#d7d7d5";
selhlbg = "#1c61c2";
caretfg = "#0abdc6";
border = "#711c91";
modefg = "#000b1e";
modebg = "#d300c4";
capsfg = "#000b1e";
capsbg = "#1c61c2";
sgr0 = "#123e7c";
sgr1 = "#ff0000";
sgr2 = "#d300c4";
sgr3 = "#f57800";
sgr4 = "#123e7c";
sgr5 = "#711c91";
sgr6 = "#0abdc6";
sgr7 = "#d7d7d5";
sgr8 = "#1c61c2";
sgr9 = "#ff0000";
sgr10 = "#d300c4";
sgr11 = "#f57800";
sgr12 = "#00ff00";
sgr13 = "#711c91";
sgr14 = "#0abdc6";
sgr15 = "#d7d7d5";
} );
file = ( { global = 0; } );
};

55
themes/Doom-One.conf Normal file
View file

@ -0,0 +1,55 @@
/* spmenu Doom One theme
* To apply, copy the file to ~/.config/spmenu/theme.conf, either using a profile manager or manually.
*/
theme = {
color = ( {
itemnormfg = "#d7d7d7";
itemnormbg = "#282c34";
itemselfg = "#282c34";
itemselbg = "#ff6c6b";
itemnormprifg = "#d7d7d7";
itemnormpribg = "#5b6268";
itemselprifg = "#d7d7d7";
itemselpribg = "#da8548";
menu = "#282c34";
promptfg = "#282c34";
promptbg = "#c678dd";
larrowfg = "#5699af";
rarrowfg = "#5699af";
larrowbg = "#282c34";
rarrowbg = "#282c34";
inputfg = "#d7d7d7";
inputbg = "#282c34";
numfg = "#282c34";
numbg = "#98be65";
normhlfg = "#88C0D0";
normhlbg = "#282c34";
selhlfg = "#ecbe7b";
selhlbg = "#282c34";
caretfg = "#d7d7d7";
border = "#ff6c6b";
modefg = "#282c34";
modebg = "#51afef";
capsfg = "#282c34";
capsbg = "#da8548";
sgr0 = "#1c1f24";
sgr1 = "#ff6c6b";
sgr2 = "#98be65";
sgr3 = "#da8548";
sgr4 = "#51afef";
sgr5 = "#c678dd";
sgr6 = "#5699af";
sgr7 = "#202328";
sgr8 = "#5b6268";
sgr9 = "#da8548";
sgr10 = "#4db5bd";
sgr11 = "#ecbe7b";
sgr12 = "#3071db";
sgr13 = "#a9a1e1";
sgr14 = "#46d9ff";
sgr15 = "#dfdfdf";
} );
file = ( { global = 0; } );
};

55
themes/Dracula.conf Normal file
View file

@ -0,0 +1,55 @@
/* spmenu Dracula theme
* To apply, copy the file to ~/.config/spmenu/theme.conf, either using a profile manager or manually.
*/
theme = {
color = ( {
itemnormfg = "#f8f8f2";
itemnormbg = "#282a36";
itemselfg = "#000000";
itemselbg = "#bd93f9";
itemnormprifg = "#f8f8f2";
itemnormpribg = "#282a36";
itemselprifg = "#000000";
itemselpribg = "#bd93f9";
menu = "#282a36";
promptfg = "#282a36";
promptbg = "#ff5555";
larrowfg = "#f1fa8c";
rarrowfg = "#f1fa8c";
larrowbg = "#282a36";
rarrowbg = "#282a36";
inputfg = "#f8f8f2";
inputbg = "#282a36";
numfg = "#282a36";
numbg = "#50fa7b";
normhlfg = "#ffffff";
normhlbg = "#000000";
selhlfg = "#f1fa8c";
selhlbg = "#000000";
caretfg = "#f8f8f2";
border = "#ff79c6";
modefg = "#282a36";
modebg = "#ff79c6";
capsfg = "#282a36";
capsbg = "#8b39fd";
sgr0 = "#000000";
sgr1 = "#ff5555";
sgr2 = "#50fa7b";
sgr3 = "#f1fa8c";
sgr4 = "#bd93f9";
sgr5 = "#ff79c6";
sgr6 = "#8be9fd";
sgr7 = "#bbbbbb";
sgr8 = "#44475a";
sgr9 = "#ff5555";
sgr10 = "#50fa7b";
sgr11 = "#f1fa8c";
sgr12 = "#bd93f9";
sgr13 = "#ff79c6";
sgr14 = "#8b39fd";
sgr15 = "#ffffff";
} );
file = ( { global = 0; } );
};

55
themes/Gruvbox-Dark.conf Normal file
View file

@ -0,0 +1,55 @@
/* spmenu Gruvbox (Dark) theme
* To apply, copy the file to ~/.config/spmenu/theme.conf, either using a profile manager or manually.
*/
theme = {
color = ( {
itemnormfg = "#fbf1c7";
itemnormbg = "#282828";
itemselfg = "#504945";
itemselbg = "#98971a";
itemnormprifg = "#fcf1c7";
itemnormpribg = "#504945";
itemselprifg = "#fbf1c7";
itemselpribg = "#fe8019";
menu = "#282828";
promptfg = "#3c3836";
promptbg = "#fb4934";
larrowfg = "#98971a";
rarrowfg = "#98971a";
larrowbg = "#282828";
rarrowbg = "#282828";
inputfg = "#fbf1c7";
inputbg = "#282828";
numfg = "#282828";
numbg = "#b16286";
normhlfg = "#458588";
normhlbg = "#282828";
selhlfg = "#fabd2f";
selhlbg = "#282828";
caretfg = "#fbf1c7";
border = "#d79921";
modefg = "#3c3836";
modebg = "#d65d0e";
capsfg = "#3c3836";
capsbg = "#d3869b";
sgr0 = "#282828";
sgr1 = "#cc241d";
sgr2 = "#98971a";
sgr3 = "#d79921";
sgr4 = "#458588";
sgr5 = "#b16286";
sgr6 = "#689d6a";
sgr7 = "#a89984";
sgr8 = "#928374";
sgr9 = "#fb4934";
sgr10 = "#b8bb26";
sgr11 = "#fabd2f";
sgr12 = "#83a598";
sgr13 = "#d3869b";
sgr14 = "#8ec07c";
sgr15 = "#ebdbb2";
} );
file = ( { global = 0; } );
};

55
themes/Gruvbox-Light.conf Normal file
View file

@ -0,0 +1,55 @@
/* spmenu Gruvbox (Light) theme
* To apply, copy the file to ~/.config/spmenu/theme.conf, either using a profile manager or manually.
*/
theme = {
color = ( {
itemnormfg = "#657b83";
itemnormbg = "#fdf6e3";
itemselfg = "#657b83";
itemselbg = "#dc322f";
itemnormprifg = "#657b83";
itemnormpribg = "#fdf6e3";
itemselprifg = "#657b83";
itemselpribg = "#586e75";
menu = "#fdf6e3";
promptfg = "#262626";
promptbg = "#b58900";
larrowfg = "#2aa198";
rarrowfg = "#2aa198";
larrowbg = "#fdf6e3";
rarrowbg = "#fdf6e3";
inputfg = "#657b83";
inputbg = "#fdf6e3";
numfg = "#262626";
numbg = "#cb4b16";
normhlfg = "#268bd2";
normhlbg = "#fdf6e3";
selhlfg = "#ffffd7";
selhlbg = "#262626";
caretfg = "#657b83";
border = "#859900";
modefg = "#262626";
modebg = "#859900";
capsfg = "#262626";
capsbg = "#2aa198";
sgr0 = "#eee8d5";
sgr1 = "#dc322f";
sgr2 = "#859900";
sgr3 = "#b58900";
sgr4 = "#268bd2";
sgr5 = "#d33682";
sgr6 = "#2aa198";
sgr7 = "#073642";
sgr8 = "#fdf6e3";
sgr9 = "#cb4b16";
sgr10 = "#93a1a1";
sgr11 = "#839496";
sgr12 = "#657b83";
sgr13 = "#6c71c4";
sgr14 = "#586e75";
sgr15 = "#002b36";
} );
file = ( { global = 0; } );
};

View file

@ -0,0 +1,9 @@
/* spmenu "No global colors" theme
* This "colorscheme" simply disables global colors, so that programs like Pywal will not override spmenu colors.
*
* To apply, copy the file to ~/.config/spmenu/theme.conf, either using a profile manager or manually.
*/
theme = {
file = ( { global = 0; } );
};

55
themes/Nord.conf Normal file
View file

@ -0,0 +1,55 @@
/* spmenu Nord theme
* To apply, copy the file to ~/.config/spmenu/theme.conf, either using a profile manager or manually.
*/
theme = {
color = ( {
itemnormfg = "#eceff4";
itemnormbg = "#2e3440";
itemselfg = "#eceff4";
itemselbg = "#bf616a";
itemnormprifg = "#eceff4";
itemnormpribg = "#3b4252";
itemselprifg = "#eceff4";
itemselpribg = "#d08770";
menu = "#2e3440";
promptfg = "#2e3440";
promptbg = "#b48ead";
larrowfg = "#8fbcbb";
rarrowfg = "#8fbcbb";
larrowbg = "#2e3440";
rarrowbg = "#2e3440";
inputfg = "#eceff4";
inputbg = "#2e3440";
numfg = "#2e3440";
numbg = "#a3be8c";
normhlfg = "#88c0d0";
normhlbg = "#2e3440";
selhlfg = "#ebcb8b";
selhlbg = "#2e3440";
caretfg = "#d8dee9";
border = "#5e81ac";
modefg = "#2e3440";
modebg = "#81a1c1";
capsfg = "#2e3440";
capsbg = "#ebcb8b";
sgr0 = "#3b4252";
sgr1 = "#bf616a";
sgr2 = "#a3be8c";
sgr3 = "#ebcb8b";
sgr4 = "#81a1c1";
sgr5 = "#b48ead";
sgr6 = "#88c0d0";
sgr7 = "#e5e9f0";
sgr8 = "#4c566a";
sgr9 = "#bf616a";
sgr10 = "#a3be8c";
sgr11 = "#ebcb8b";
sgr12 = "#81a1c1";
sgr13 = "#b48ead";
sgr14 = "#8fbcbb";
sgr15 = "#eceff4";
} );
file = ( { global = 0; } );
};

View file

@ -3,15 +3,16 @@
spmenu has a profile feature, which allows you to quickly switch between spmenu has a profile feature, which allows you to quickly switch between
configuration files. For this reason, it is possible to quickly switch between colorschemes. configuration files. For this reason, it is possible to quickly switch between colorschemes.
legacy/ contains themes applied through .Xresources, while the current directory contains legacy/ contains themes applied through .Xresources, while the current
themes included from spmenu.conf. directory contains themes that are supposed to replace ~/.config/spmenu/theme.conf.
Feel free to contribute your own colorschemes here in either form. Feel free to contribute your own colorschemes here in either form.
## Usage (.Xresources) ## Usage (.Xresources)
**NOTE: These is nothing wrong with using the .Xresources themes, despite them **NOTE: These is nothing wrong with using the .Xresources themes, despite them
having the 'legacy' name.** having the 'legacy' name. They're being phased out though as of spmenu 1.1
in favor of the config file like themes.**
To switch between profiles in spmenu, you use Ctrl+Shift+p. It will spawn a To switch between profiles in spmenu, you use Ctrl+Shift+p. It will spawn a
list of installed profiles, but also allows you to add/remove profiles. list of installed profiles, but also allows you to add/remove profiles.
@ -26,5 +27,5 @@ Alternatively, run `install.sh` to install all the themes instantly.
## Usage (spmenurc) ## Usage (spmenurc)
Install it, and `@include` it in your spmenu.conf. Or if you prefer, replace Copy any of the themes to ~/.config/spmenu/theme.conf. Make sure `theme` is enabled in
your spmenu.conf with it. your config file though.

View file

@ -0,0 +1,55 @@
/* spmenu Solarized (Dark) theme
* To apply, copy the file to ~/.config/spmenu/theme.conf, either using a profile manager or manually.
*/
theme = {
color = ( {
itemnormfg = "#eee8d5";
itemnormbg = "#002b36";
itemselfg = "#eee8d5";
itemselbg = "#dc322f";
itemnormprifg = "#eee8d5";
itemnormpribg = "#002b36";
itemselprifg = "#eee8d5";
itemselpribg = "#586e75";
menu = "#002b36";
promptfg = "#262626";
promptbg = "#b58900";
larrowfg = "#2aa198";
rarrowfg = "#2aa198";
larrowbg = "#002b36";
rarrowbg = "#002b36";
inputfg = "#eee8d5";
inputbg = "#002b36";
numfg = "#262626";
numbg = "#cb4b16";
normhlfg = "#268bd2";
normhlbg = "#002b36";
selhlfg = "#ffffd7";
selhlbg = "#262626";
caretfg = "#eee8d5";
border = "#859900";
modefg = "#262626";
modebg = "#859900";
capsfg = "#262626";
capsbg = "#2aa198";
sgr0 = "#073642";
sgr1 = "#dc322f";
sgr2 = "#859900";
sgr3 = "#b58900";
sgr4 = "#268bd2";
sgr5 = "#d33682";
sgr6 = "#2aa198";
sgr7 = "#eee8d5";
sgr8 = "#002b36";
sgr9 = "#cb4b16";
sgr10 = "#586e75";
sgr11 = "#657b83";
sgr12 = "#839496";
sgr13 = "#6c71c4";
sgr14 = "#93a1a1";
sgr15 = "#fdf6e3";
} );
file = ( { global = 0; } );
};

55
themes/Tokyo-Night.conf Normal file
View file

@ -0,0 +1,55 @@
/* spmenu Tokyo Night theme
* To apply, copy the file to ~/.config/spmenu/theme.conf, either using a profile manager or manually.
*/
theme = {
color = ( {
itemnormfg = "#a9b1d6";
itemnormbg = "#1a1b26";
itemselfg = "#32344a";
itemselbg = "#e0af68";
itemnormprifg = "#a9b1d6";
itemnormpribg = "#444B6A";
itemselprifg = "#a9b1d6";
itemselpribg = "#D08770";
menu = "#1a1b26";
promptfg = "#1a1b26";
promptbg = "#ad8ee6";
larrowfg = "#7da6ff";
rarrowfg = "#7da6ff";
larrowbg = "#1a1b26";
rarrowbg = "#1a1b26";
inputfg = "#a9b1d6";
inputbg = "#1a1b26";
numfg = "#1a1b26";
numbg = "#9ece6a";
normhlfg = "#7aa2f7";
normhlbg = "#1a1b26";
selhlfg = "#e0af68";
selhlbg = "#1a1b26";
caretfg = "#a9b1d6";
border = "#7da6ff";
modefg = "#1a1b26";
modebg = "#ff7a93";
capsfg = "#1a1b26";
capsbg = "#b9f27c";
sgr0 = "#32344a";
sgr1 = "#f7768e";
sgr2 = "#9ece6a";
sgr3 = "#e0af68";
sgr4 = "#7aa2f7";
sgr5 = "#ad8ee6";
sgr6 = "#449dab";
sgr7 = "#787c99";
sgr8 = "#444b6a";
sgr9 = "#ff7a93";
sgr10 = "#b9f27c";
sgr11 = "#ff9e64";
sgr12 = "#7da6ff";
sgr13 = "#bb9af7";
sgr14 = "#0db9d7";
sgr15 = "#acb0d0";
} );
file = ( { global = 0; } );
};

View file

@ -4,48 +4,48 @@
! If you want that, then you may set this to 1. ! If you want that, then you may set this to 1.
spmenu.globalcolors: 0 spmenu.globalcolors: 0
spmenu.col_itemnormfg: #0abdc6 itemnormfg = "#0abdc6";
spmenu.col_itemnormbg: #000b1e itemnormbg = "#000b1e";
spmenu.col_itemselfg: #000b1e itemselfg = "#000b1e";
spmenu.col_itemselbg: #0abdc6 itemselbg = "#0abdc6";
spmenu.col_itemnormprifg: #0abdc6 itemnormprifg = "#0abdc6";
spmenu.col_itemnormpribg: #000b1e itemnormpribg = "#000b1e";
spmenu.col_itemselprifg: #000b1e itemselprifg = "#000b1e";
spmenu.col_itemselpribg: #d300c4 itemselpribg = "#d300c4";
spmenu.col_menu: #000b1e menu = "#000b1e";
spmenu.col_promptfg: #000b1e promptfg = "#000b1e";
spmenu.col_promptbg: #d300c4 promptbg = "#d300c4";
spmenu.col_larrowfg: #ff0000 larrowfg = "#ff0000";
spmenu.col_rarrowfg: #ff0000 rarrowfg = "#ff0000";
spmenu.col_larrowbg: #000b1e larrowbg = "#000b1e";
spmenu.col_rarrowbg: #000b1e rarrowbg = "#000b1e";
spmenu.col_inputfg: #0abdc6 inputfg = "#0abdc6";
spmenu.col_inputbg: #000b1e inputbg = "#000b1e";
spmenu.col_numfg: #000b1e numfg = "#000b1e";
spmenu.col_numbg: #00ff00 numbg = "#00ff00";
spmenu.col_normhlfg: #0abdc6 normhlfg = "#0abdc6";
spmenu.col_normhlbg: #123e7c normhlbg = "#123e7c";
spmenu.col_selhlfg: #d7d7d5 selhlfg = "#d7d7d5";
spmenu.col_selhlbg: #1c61c2 selhlbg = "#1c61c2";
spmenu.col_caretfg: #0abdc6 caretfg = "#0abdc6";
spmenu.col_border: #711c91 border = "#711c91";
spmenu.col_modefg: #000b1e modefg = "#000b1e";
spmenu.col_modebg: #d300c4 modebg = "#d300c4";
spmenu.col_capsfg: #000b1e capsfg = "#000b1e";
spmenu.col_capsbg: #1c61c2 capsbg = "#1c61c2";
spmenu.col_sgr0: #123e7c sgr0 = "#123e7c";
spmenu.col_sgr1: #ff0000 sgr1 = "#ff0000";
spmenu.col_sgr2: #d300c4 sgr2 = "#d300c4";
spmenu.col_sgr3: #f57800 sgr3 = "#f57800";
spmenu.col_sgr4: #123e7c sgr4 = "#123e7c";
spmenu.col_sgr5: #711c91 sgr5 = "#711c91";
spmenu.col_sgr6: #0abdc6 sgr6 = "#0abdc6";
spmenu.col_sgr7: #d7d7d5 sgr7 = "#d7d7d5";
spmenu.col_sgr8: #1c61c2 sgr8 = "#1c61c2";
spmenu.col_sgr9: #ff0000 sgr9 = "#ff0000";
spmenu.col_sgr10: #d300c4 sgr10 = "#d300c4";
spmenu.col_sgr11: #f57800 sgr11 = "#f57800";
spmenu.col_sgr12: #00ff00 sgr12 = "#00ff00";
spmenu.col_sgr13: #711c91 sgr13 = "#711c91";
spmenu.col_sgr14: #0abdc6 sgr14 = "#0abdc6";
spmenu.col_sgr15: #d7d7d5 sgr15 = "#d7d7d5";