From c8525970fab55d40aee22cd7b3680a55e4e98e39 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Tue, 22 Jan 2019 19:37:40 -0600 Subject: [PATCH] Initial work --- de/bar/polybar-config | 2 +- de/gtk/3settings.ini | 4 +- scripts/colors/generator/gen.bash | 12 ++--- .../{donokai-black.yml => donokaiblack.yml} | 0 .../colors/generator/schemes/holodized.yml | 37 +++++++++++++ scripts/colors/shell | 52 +++++++++---------- scripts/colors/vconsole | 22 ++++---- scripts/colors/vim | 36 ++++++------- scripts/colors/xresources | 32 ++++++------ 9 files changed, 117 insertions(+), 80 deletions(-) rename scripts/colors/generator/schemes/{donokai-black.yml => donokaiblack.yml} (100%) create mode 100644 scripts/colors/generator/schemes/holodized.yml diff --git a/de/bar/polybar-config b/de/bar/polybar-config index 559c1cb..4c918a4 100644 --- a/de/bar/polybar-config +++ b/de/bar/polybar-config @@ -93,7 +93,7 @@ interval = 25 mount-0 = ${env:BAR_FS_VOLUME} format = -label-mounted = %used% +label-mounted = %free% label-mounted-foreground = ${colors.filesystem} format-mounted-prefix = " " format-mounted-prefix-foreground = ${colors.icon} diff --git a/de/gtk/3settings.ini b/de/gtk/3settings.ini index 010c652..f28fbfc 100644 --- a/de/gtk/3settings.ini +++ b/de/gtk/3settings.ini @@ -1,5 +1,5 @@ [Settings] gtk-icon-theme-name = elementary -gtk-theme-name = Arc-Dark +gtk-theme-name = Arc-Light gtk-font-name = Iosevka 9 -gtk-application-prefer-dark-theme = true +gtk-application-prefer-dark-theme = false diff --git a/scripts/colors/generator/gen.bash b/scripts/colors/generator/gen.bash index dadf4de..05290f6 100755 --- a/scripts/colors/generator/gen.bash +++ b/scripts/colors/generator/gen.bash @@ -1,13 +1,13 @@ #!/usr/bin/env bash SCHEME="donokai" +TYPE="dark" v=$(ruby --version) if [[ $? -eq 0 ]]; then - if [[ -n $1 ]]; then - SCHEME=$1 - fi + if [[ -n $1 ]]; then SCHEME=$1; fi + if [[ -n $2 ]]; then TYPE=$2; fi DIR=$(cd "$(dirname "${BASH_SOURCE[0]}" )" && pwd) @@ -34,10 +34,10 @@ if [[ $? -eq 0 ]]; then rm -f "$DIR/../vconsole" rm -f "$DIR/../vim" rm -f "$DIR/../xresources" - cp "$COLORS_PATH/xresources/base16-$SCHEME.dark.xresources" "$DIR/../xresources" - cp "$COLORS_PATH/vconsole/base16-$SCHEME.dark.sh" "$DIR/../vconsole" + cp "$COLORS_PATH/xresources/base16-$SCHEME.$TYPE.xresources" "$DIR/../xresources" + cp "$COLORS_PATH/vconsole/base16-$SCHEME.$TYPE.sh" "$DIR/../vconsole" cp "$COLORS_PATH/vim/base16-$SCHEME.vim" "$DIR/../vim" - cp "$COLORS_PATH/shell/base16-$SCHEME.dark.sh" "$DIR/../shell" + cp "$COLORS_PATH/shell/base16-$SCHEME.$TYPE.sh" "$DIR/../shell" chmod +x "$DIR/../shell" chmod +x "$DIR/../vconsole" diff --git a/scripts/colors/generator/schemes/donokai-black.yml b/scripts/colors/generator/schemes/donokaiblack.yml similarity index 100% rename from scripts/colors/generator/schemes/donokai-black.yml rename to scripts/colors/generator/schemes/donokaiblack.yml diff --git a/scripts/colors/generator/schemes/holodized.yml b/scripts/colors/generator/schemes/holodized.yml new file mode 100644 index 0000000..bdaded9 --- /dev/null +++ b/scripts/colors/generator/schemes/holodized.yml @@ -0,0 +1,37 @@ +scheme: "Holodized" +author: "Daniel Flanagan(https://lytedev.io)" +base00: "fdf6e3" # background, light cream +base01: "ddd6c3" # darker cream +base02: "ada693" # darker cream +base03: "8d8673" # greyish yellow (peuce) +base04: "554f45" # darker peuce +base05: "111111" # foreground dark grey +base06: "333333" # foreground 2 dark grey +base07: "555555" # foreground 3 dark grey +base08: "990833" # magenta +base09: "fd971f" # orange +base0A: "947010" # yellow +base0B: "06623e" # green +base0C: "006677" # cyan +base0D: "004488" # blue +base0E: "4e117f" # purple +base0F: "883311" # pale orange + +# scheme: "Holodized" +# author: "Daniel Flanagan @lytedev (modified Solarized Light)" +# base00: "fdf6e3" +# base01: "eee8d5" +# base02: "93a1a1" +# base03: "839496" +# base04: "657b83" +# base05: "111111" +# base06: "073642" +# base07: "002b36" +# base08: "8c220f" +# base09: "8b2b06" +# base0A: "b58900" +# base0B: "859900" +# base0C: "2aa198" +# base0D: "268bd2" +# base0E: "6c71c4" +# base0F: "d33682" diff --git a/scripts/colors/shell b/scripts/colors/shell index ebeb6fc..036af7a 100755 --- a/scripts/colors/shell +++ b/scripts/colors/shell @@ -1,5 +1,5 @@ #!/bin/sh -# Base16 Donokai - Shell color setup script +# Base16 Holodized - Shell color setup script # Daniel Flanagan(https://lytedev.io) if [ "${TERM%%-*}" = 'linux' ]; then @@ -7,31 +7,31 @@ if [ "${TERM%%-*}" = 'linux' ]; then return 2>/dev/null || exit 0 fi -color00="11/11/11" # Base 00 - Black -color01="f9/26/72" # Base 08 - Red -color02="a6/e2/2e" # Base 0B - Green -color03="f4/bf/75" # Base 0A - Yellow -color04="66/d9/ef" # Base 0D - Blue -color05="ae/81/ff" # Base 0E - Magenta -color06="a1/ef/e4" # Base 0C - Cyan -color07="f8/f8/f2" # Base 05 - White -color08="75/71/5e" # Base 03 - Bright Black +color00="fd/f6/e3" # Base 00 - Black +color01="99/08/33" # Base 08 - Red +color02="06/62/3e" # Base 0B - Green +color03="94/70/10" # Base 0A - Yellow +color04="00/44/88" # Base 0D - Blue +color05="4e/11/7f" # Base 0E - Magenta +color06="00/66/77" # Base 0C - Cyan +color07="11/11/11" # Base 05 - White +color08="8d/86/73" # Base 03 - Bright Black color09=$color01 # Base 08 - Bright Red color10=$color02 # Base 0B - Bright Green color11=$color03 # Base 0A - Bright Yellow color12=$color04 # Base 0D - Bright Blue color13=$color05 # Base 0E - Bright Magenta color14=$color06 # Base 0C - Bright Cyan -color15="f9/f8/f5" # Base 07 - Bright White +color15="55/55/55" # Base 07 - Bright White color16="fd/97/1f" # Base 09 -color17="cc/66/33" # Base 0F -color18="38/38/30" # Base 01 -color19="49/48/3e" # Base 02 -color20="a5/9f/85" # Base 04 -color21="f5/f4/f1" # Base 06 -color_foreground="f8/f8/f2" # Base 05 -color_background="11/11/11" # Base 00 -color_cursor="f8/f8/f2" # Base 05 +color17="88/33/11" # Base 0F +color18="dd/d6/c3" # Base 01 +color19="ad/a6/93" # Base 02 +color20="55/4f/45" # Base 04 +color21="33/33/33" # Base 06 +color_foreground="11/11/11" # Base 05 +color_background="fd/f6/e3" # Base 00 +color_cursor="11/11/11" # Base 05 if [ -n "$TMUX" ]; then # tell tmux to pass the escape sequences through @@ -82,13 +82,13 @@ printf $printf_template 21 $color21 # foreground / background / cursor color if [ -n "$ITERM_SESSION_ID" ]; then # iTerm2 proprietary escape codes - printf $printf_template_custom Pg f8f8f2 # forground - printf $printf_template_custom Ph 111111 # background - printf $printf_template_custom Pi f8f8f2 # bold color - printf $printf_template_custom Pj 49483e # selection color - printf $printf_template_custom Pk f8f8f2 # selected text color - printf $printf_template_custom Pl f8f8f2 # cursor - printf $printf_template_custom Pm 111111 # cursor text + printf $printf_template_custom Pg 111111 # forground + printf $printf_template_custom Ph fdf6e3 # background + printf $printf_template_custom Pi 111111 # bold color + printf $printf_template_custom Pj ada693 # selection color + printf $printf_template_custom Pk 111111 # selected text color + printf $printf_template_custom Pl 111111 # cursor + printf $printf_template_custom Pm fdf6e3 # cursor text else printf $printf_template_var 10 $color_foreground printf $printf_template_var 11 $color_background diff --git a/scripts/colors/vconsole b/scripts/colors/vconsole index f742227..6bbdeec 100755 --- a/scripts/colors/vconsole +++ b/scripts/colors/vconsole @@ -1,23 +1,23 @@ #!/bin/sh -# Base16 Donokai - Virtual console color setup script +# Base16 Holodized - Virtual console color setup script # Daniel Flanagan(https://lytedev.io) -color00="111111" # Base 00 - Black -color01="f92672" # Base 08 - Red -color02="a6e22e" # Base 0B - Green -color03="f4bf75" # Base 0A - Yellow -color04="66d9ef" # Base 0D - Blue -color05="ae81ff" # Base 0E - Magenta -color06="a1efe4" # Base 0C - Cyan -color07="f8f8f2" # Base 05 - White -color08="75715e" # Base 03 - Bright Black +color00="fdf6e3" # Base 00 - Black +color01="990833" # Base 08 - Red +color02="06623e" # Base 0B - Green +color03="947010" # Base 0A - Yellow +color04="004488" # Base 0D - Blue +color05="4e117f" # Base 0E - Magenta +color06="006677" # Base 0C - Cyan +color07="111111" # Base 05 - White +color08="8d8673" # Base 03 - Bright Black color09=$color01 # Base 08 - Bright Red color10=$color02 # Base 0B - Bright Green color11=$color03 # Base 0A - Bright Yellow color12=$color04 # Base 0D - Bright Blue color13=$color05 # Base 0E - Bright Magenta color14=$color06 # Base 0C - Bright Cyan -color15="f9f8f5" # Base 07 - Bright White +color15="555555" # Base 07 - Bright White # 16 color space echo -e "\e]P0$color00" diff --git a/scripts/colors/vim b/scripts/colors/vim index 7fbf468..de0bef2 100644 --- a/scripts/colors/vim +++ b/scripts/colors/vim @@ -1,4 +1,4 @@ -" Base16 Donokai (https://github.com/chriskempson/base16) +" Base16 Holodized (https://github.com/chriskempson/base16) " Scheme: Daniel Flanagan(https://lytedev.io) " This enables the coresponding base16-shell script to run so that @@ -7,27 +7,27 @@ " let g:base16_shell_path=base16-builder/output/shell/ if !has('gui_running') if exists("g:base16_shell_path") - execute "silent !/bin/sh ".g:base16_shell_path."/base16-donokai.".&background.".sh" + execute "silent !/bin/sh ".g:base16_shell_path."/base16-holodized.".&background.".sh" endif endif " GUI color definitions -let s:gui00 = "111111" -let s:gui01 = "383830" -let s:gui02 = "49483e" -let s:gui03 = "75715e" -let s:gui04 = "a59f85" -let s:gui05 = "f8f8f2" -let s:gui06 = "f5f4f1" -let s:gui07 = "f9f8f5" -let s:gui08 = "f92672" +let s:gui00 = "fdf6e3" +let s:gui01 = "ddd6c3" +let s:gui02 = "ada693" +let s:gui03 = "8d8673" +let s:gui04 = "554f45" +let s:gui05 = "111111" +let s:gui06 = "333333" +let s:gui07 = "555555" +let s:gui08 = "990833" let s:gui09 = "fd971f" -let s:gui0A = "f4bf75" -let s:gui0B = "a6e22e" -let s:gui0C = "a1efe4" -let s:gui0D = "66d9ef" -let s:gui0E = "ae81ff" -let s:gui0F = "cc6633" +let s:gui0A = "947010" +let s:gui0B = "06623e" +let s:gui0C = "006677" +let s:gui0D = "004488" +let s:gui0E = "4e117f" +let s:gui0F = "883311" " Terminal color definitions let s:cterm00 = "00" @@ -59,7 +59,7 @@ endif " Theme setup hi clear syntax reset -let g:colors_name = "base16-donokai" +let g:colors_name = "base16-holodized" " Highlighting function fun hi(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) diff --git a/scripts/colors/xresources b/scripts/colors/xresources index 45d6593..7eddade 100644 --- a/scripts/colors/xresources +++ b/scripts/colors/xresources @@ -1,22 +1,22 @@ -! Base16 Donokai +! Base16 Holodized ! Scheme: Daniel Flanagan(https://lytedev.io) -#define base00 #111111 -#define base01 #383830 -#define base02 #49483e -#define base03 #75715e -#define base04 #a59f85 -#define base05 #f8f8f2 -#define base06 #f5f4f1 -#define base07 #f9f8f5 -#define base08 #f92672 +#define base00 #fdf6e3 +#define base01 #ddd6c3 +#define base02 #ada693 +#define base03 #8d8673 +#define base04 #554f45 +#define base05 #111111 +#define base06 #333333 +#define base07 #555555 +#define base08 #990833 #define base09 #fd971f -#define base0A #f4bf75 -#define base0B #a6e22e -#define base0C #a1efe4 -#define base0D #66d9ef -#define base0E #ae81ff -#define base0F #cc6633 +#define base0A #947010 +#define base0B #06623e +#define base0C #006677 +#define base0D #004488 +#define base0E #4e117f +#define base0F #883311 *foreground: base05 *background: base00