From eb7cf07c693d9235a6e6a9f37e2a3cb133561057 Mon Sep 17 00:00:00 2001 From: Harri Lahtinen Date: Sat, 6 Nov 2021 11:09:51 +0200 Subject: [PATCH] Added few flavours templates --- .config/flavours/config.toml | 27 +-------------- .../mini-greeter/templates/config.yaml | 4 +++ .../mini-greeter/templates/default.mustache | 18 ++++++++++ .../templates/twmn/templates/config.yaml | 3 ++ .../templates/twmn/templates/default.mustache | 34 +++++++++++++++++++ .../templates/vim/templates/config.yaml | 16 +++++++++ .../templates/vim/templates/vimlua.mustache | 7 ++++ 7 files changed, 83 insertions(+), 26 deletions(-) create mode 100644 .local/share/flavours/base16/templates/mini-greeter/templates/config.yaml create mode 100644 .local/share/flavours/base16/templates/mini-greeter/templates/default.mustache create mode 100644 .local/share/flavours/base16/templates/twmn/templates/config.yaml create mode 100644 .local/share/flavours/base16/templates/twmn/templates/default.mustache create mode 100644 .local/share/flavours/base16/templates/vim/templates/config.yaml create mode 100644 .local/share/flavours/base16/templates/vim/templates/vimlua.mustache diff --git a/.config/flavours/config.toml b/.config/flavours/config.toml index 87eff31..381ac0e 100644 --- a/.config/flavours/config.toml +++ b/.config/flavours/config.toml @@ -1,31 +1,5 @@ shell = "zsh -c '{}'" -#[[item]] -#file = "~/.config/sway/border.svg" -#template = "svg-circle" -#rewrite = true -#hook = "~/.config/sway/rendersvg.sh border" - -#[[item]] -#file = "~/.config/sway/border-selected.svg" -#template = "svg-circle" -#subtemplate = "selected" -#rewrite = true -#hook = "~/.config/sway/rendersvg.sh border-selected" - -#[[item]] -#file = "~/.config/nvim/colors/base16.vim" -#template = "vim" -#rewrite = true -#hook = "reloadnvim" - -#[[item]] -#file = '~/.local/share/nvim/colors/base16-generated.vim' -#template = 'vim' -#subtemplate = 'custom' -#rewrite = true -#hook = "reloadnvim" - [[item]] file = '~/.local/share/nvim/site/pack/packer/start/nvim-base16/colors/base16-vimlua.vim' template = 'vim' @@ -62,6 +36,7 @@ rewrite = true [[item]] file = "~/.config/i3/config" template = "i3" +subtemplate = "custom" light = false hook = "i3-msg reload" diff --git a/.local/share/flavours/base16/templates/mini-greeter/templates/config.yaml b/.local/share/flavours/base16/templates/mini-greeter/templates/config.yaml new file mode 100644 index 0000000..622a4ae --- /dev/null +++ b/.local/share/flavours/base16/templates/mini-greeter/templates/config.yaml @@ -0,0 +1,4 @@ +default: + extension: .conf + output: colors + diff --git a/.local/share/flavours/base16/templates/mini-greeter/templates/default.mustache b/.local/share/flavours/base16/templates/mini-greeter/templates/default.mustache new file mode 100644 index 0000000..2e1fd90 --- /dev/null +++ b/.local/share/flavours/base16/templates/mini-greeter/templates/default.mustache @@ -0,0 +1,18 @@ +# The screen's background color. +background-color = "#{{base00-hex}}" +# The password window's background color +window-color = "#{{base01-hex}}" +# The color of the password window's border +border-color = "#{{base07-hex}}" +# The color of the text in the password input. +password-color = "#{{base00-hex}}" +# The background color of the password input. +password-background-color = "#c2b6b7" +# The color of the password input's border. +# Falls back to `border-color` if missing. +password-border-color = "#080800" +# The default text color +text-color = "#080800" +# The color of the error text +error-color = "#F8F8F0" + diff --git a/.local/share/flavours/base16/templates/twmn/templates/config.yaml b/.local/share/flavours/base16/templates/twmn/templates/config.yaml new file mode 100644 index 0000000..293d88a --- /dev/null +++ b/.local/share/flavours/base16/templates/twmn/templates/config.yaml @@ -0,0 +1,3 @@ +default: + extension: .conf + output: colors diff --git a/.local/share/flavours/base16/templates/twmn/templates/default.mustache b/.local/share/flavours/base16/templates/twmn/templates/default.mustache new file mode 100644 index 0000000..47746cc --- /dev/null +++ b/.local/share/flavours/base16/templates/twmn/templates/default.mustache @@ -0,0 +1,34 @@ +[gui] +absolute_position= +always_on_top=true +background_color=#{{base00-hex}} +bounce=true +bounce_duration=500 +font=UbuntuMono Nerd Font +font_size=12 +font_variant=medium +foreground_color=#999999 +height=16 +in_animation=38 +in_animation_duration=2000 +max_length=-1 +offset_x=0 +offset_y=0 +opacity=100 +out_animation=13 +out_animation_duration=1000 +position=top_right +screen= + +[icons] +critical_icon= +info_icon= +warning_icon= + +[main] +activate_command= +duration=6000 +enable_shortcuts=true +host=127.0.0.1 +port=9797 +sound_command= diff --git a/.local/share/flavours/base16/templates/vim/templates/config.yaml b/.local/share/flavours/base16/templates/vim/templates/config.yaml new file mode 100644 index 0000000..5c9ce9e --- /dev/null +++ b/.local/share/flavours/base16/templates/vim/templates/config.yaml @@ -0,0 +1,16 @@ +default: + extension: .vim + output: colors + +custom: + extension: .vim + output: colors + +transparent: + extension: .vim + output: colors + +vimlua: + extension: .vim + output: colors + diff --git a/.local/share/flavours/base16/templates/vim/templates/vimlua.mustache b/.local/share/flavours/base16/templates/vim/templates/vimlua.mustache new file mode 100644 index 0000000..dfd8e86 --- /dev/null +++ b/.local/share/flavours/base16/templates/vim/templates/vimlua.mustache @@ -0,0 +1,7 @@ +let g:colors_name = 'base16-vimlua' +lua require('base16-colorscheme').setup({ + \ base00 = '#{{base00-hex}}', base01 = '#{{base01-hex}}', base02 = '#{{base02-hex}}', base03 = '#{{base03-hex}}', + \ base04 = '#{{base04-hex}}', base05 = '#{{base05-hex}}', base06 = '#{{base06-hex}}', base07 = '#{{base07-hex}}', + \ base08 = '#{{base08-hex}}', base09 = '#{{base09-hex}}', base0A = '#{{base0A-hex}}', base0B = '#{{base0B-hex}}', + \ base0C = '#{{base0C-hex}}', base0D = '#{{base0D-hex}}', base0E = '#{{base0E-hex}}', base0F = '#{{base0F-hex}}' + \})