From 003471069eb85e7eceff21d885b332ef82422ce0 Mon Sep 17 00:00:00 2001 From: Kevin Hamer Date: Sat, 29 Oct 2016 16:49:00 -0400 Subject: initial implementation, mimicking i3 defaults --- templates/colors-only.mustache | 21 ++++++++++++++++++ templates/config.yaml | 6 ++++++ templates/default.mustache | 48 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 75 insertions(+) create mode 100644 templates/colors-only.mustache create mode 100644 templates/config.yaml create mode 100644 templates/default.mustache (limited to 'templates') diff --git a/templates/colors-only.mustache b/templates/colors-only.mustache new file mode 100644 index 0000000..5385b19 --- /dev/null +++ b/templates/colors-only.mustache @@ -0,0 +1,21 @@ +## Base16 {{scheme-name}} +# Author: {{scheme-author}} +# +# You can use these variables anywhere in the i3 configuration file. + +set $base00 #{{base00-hex}} +set $base01 #{{base01-hex}} +set $base02 #{{base02-hex}} +set $base03 #{{base03-hex}} +set $base04 #{{base04-hex}} +set $base05 #{{base05-hex}} +set $base06 #{{base06-hex}} +set $base07 #{{base07-hex}} +set $base08 #{{base08-hex}} +set $base09 #{{base09-hex}} +set $base0A #{{base0A-hex}} +set $base0B #{{base0B-hex}} +set $base0C #{{base0C-hex}} +set $base0D #{{base0D-hex}} +set $base0E #{{base0E-hex}} +set $base0F #{{base0F-hex}} diff --git a/templates/config.yaml b/templates/config.yaml new file mode 100644 index 0000000..d110e64 --- /dev/null +++ b/templates/config.yaml @@ -0,0 +1,6 @@ +default: + extension: .config + output: themes +colors-only: + extension: .config + output: colors diff --git a/templates/default.mustache b/templates/default.mustache new file mode 100644 index 0000000..4ec3823 --- /dev/null +++ b/templates/default.mustache @@ -0,0 +1,48 @@ +## Base16 {{scheme-name}} +# Author: {{scheme-author}} +# +# You can use these variables anywhere in the i3 configuration file. + +set $base00 #{{base00-hex}} +set $base01 #{{base01-hex}} +set $base02 #{{base02-hex}} +set $base03 #{{base03-hex}} +set $base04 #{{base04-hex}} +set $base05 #{{base05-hex}} +set $base06 #{{base06-hex}} +set $base07 #{{base07-hex}} +set $base08 #{{base08-hex}} +set $base09 #{{base09-hex}} +set $base0A #{{base0A-hex}} +set $base0B #{{base0B-hex}} +set $base0C #{{base0C-hex}} +set $base0D #{{base0D-hex}} +set $base0E #{{base0E-hex}} +set $base0F #{{base0F-hex}} + +# Basic bar configuration using the Base16 variables. +bar { + status_command i3status + + colors { + background $base00 + separator $base01 + statusline $base04 + + # State Border BG Text + focused_workspace $base05 $base0D $base00 + active_workspace $base05 $base03 $base00 + inactive_workspace $base03 $base01 $base05 + urgent_workspace $base08 $base08 $base00 + binding_mode $base00 $base0A $base00 + } +} + +# Basic color configuration using the Base16 variables for windows and borders. +# Property Name Border BG Text Indicator Child Border +client.focused $base05 $base0D $base00 $base0D $base0D +client.focused_inactive $base01 $base01 $base05 $base03 $base01 +client.unfocused $base01 $base00 $base05 $base01 $base01 +client.urgent $base08 $base08 $base00 $base08 $base08 +client.placeholder $base00 $base00 $base05 $base00 $base00 +client.background $base07 -- cgit