aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2019-10-06 23:05:44 -0400
committerLoic Guegan <manzerbredes@mailbox.org>2019-10-06 23:05:44 -0400
commit71688839f0c3fb8107bbea27eb6cb1b4d8277e4a (patch)
treec4fabc1bfdda72b65d4a62e36cbf891d9fed44ef
parent602c70c5174b2c73600aa06fce915eaf8a1d8a26 (diff)
Add theme manager
-rwxr-xr-xsrc/i3-theme.py12
-rwxr-xr-xsrc/parser.py16
-rw-r--r--src/theme.py30
-rw-r--r--themes/alphare61
-rw-r--r--themes/archlinux46
-rw-r--r--themes/base16-tomorrow63
-rw-r--r--themes/debian46
-rw-r--r--themes/deep-purple60
-rw-r--r--themes/default46
-rw-r--r--themes/flat-gray37
-rw-r--r--themes/gruvbox54
-rw-r--r--themes/icelines52
-rw-r--r--themes/lime57
-rw-r--r--themes/mate54
-rw-r--r--themes/oceanic-next62
-rw-r--r--themes/okraits46
-rw-r--r--themes/purple56
-rw-r--r--themes/seti58
-rw-r--r--themes/slate62
-rw-r--r--themes/solarized63
-rw-r--r--themes/tomorrow-night-80s60
-rw-r--r--themes/ubuntu46
22 files changed, 1077 insertions, 10 deletions
diff --git a/src/i3-theme.py b/src/i3-theme.py
index 2982726..2fae302 100755
--- a/src/i3-theme.py
+++ b/src/i3-theme.py
@@ -1,11 +1,15 @@
#!/usr/bin/python
-import parser
+import parser, theme, os, argparse
+args_parser = argparse.ArgumentParser(description='Process some integers.')
+args_parser.add_argument('theme_path', metavar='theme', type=str, nargs='?',
+ help='YAML i3 theme path')
+args = args_parser.parse_args()
-print("Starting app...")
-
-parser.apply_theme("/home/loic/.config/i3/config",parser.theme)
+##### Apply Theme #####
+loaded_theme=theme.load(args.theme_path)
+parser.apply_theme(os.environ["HOME"]+"/.config/i3/config",loaded_theme)
diff --git a/src/parser.py b/src/parser.py
index 2ec8da3..9a4f4b0 100755
--- a/src/parser.py
+++ b/src/parser.py
@@ -32,12 +32,17 @@ def extract_config(config_file):
tmp.close()
return(tmp.name)
+def safe_get(theme,key):
+ if key in theme:
+ return(theme[key])
+ return("")
+
def apply_to_config(tmp_config,theme):
f=open(tmp_config,mode="r")
tmp=tempfile.NamedTemporaryFile(mode="w",delete=False)
##### Apply bar theme #####
- bar_theme=theme["bar"]
+ bar_theme=theme["bar_colors"]
for line in f:
if contains(".*colors\s{",line):
tmp.write(line)
@@ -53,18 +58,17 @@ def apply_to_config(tmp_config,theme):
shutil.move(tmp.name,tmp_config)
##### Apply client theme #####
- client_theme=theme["client"]
+ client_theme=theme["window_colors"]
f=open(tmp_config,mode="a")
for key,value in client_theme.items():
- f.write(key+" "+value["background"]+" "+value["text"]+" "+value["indicator"]+" "+value["child_border"]+"\n")
+ f.write("client."+key+" "+value["border"]+" "+value["background"]+" "+value["text"]+" "+value["indicator"]+" "+safe_get(value,"child_border")+"\n")
f.close()
def apply_theme(config_file,theme):
+ print("Applying theme: "+theme["meta"]["description"])
tmp=extract_config(config_file)
apply_to_config(tmp,theme)
- shutil.move(tmp,"/home/loic/aa.theme")
-
-
+ shutil.move(tmp,config_file)
theme={
"bar":{
diff --git a/src/theme.py b/src/theme.py
new file mode 100644
index 0000000..187b8d2
--- /dev/null
+++ b/src/theme.py
@@ -0,0 +1,30 @@
+import yaml,re
+
+
+def configure(theme):
+ if "colors" in theme:
+ colors=theme["colors"]
+ window_colors=theme["window_colors"]
+ for key1,value1 in window_colors.items():
+ for key2,value2 in value1.items():
+ if re.match("#.*",value2) == None:
+ window_colors[key1][key2]=colors[value2]
+ theme["window_colors"]=window_colors
+
+ bar_colors=theme["bar_colors"]
+ for key1,value1 in bar_colors.items():
+ if isinstance(value1,dict):
+ for key2,value2 in value1.items():
+ if re.match("#.*",value2) == None:
+ bar_colors[key1][key2]=colors[value2]
+ else:
+ if re.match("#.*",value1) == None:
+ bar_colors[key1]=colors[value1]
+ theme["bar_colors"]=bar_colors
+ return(theme)
+
+def load(theme_file):
+ f=open(theme_file,mode="r")
+ theme=yaml.load(f,Loader=yaml.FullLoader)
+ f.close()
+ return(configure(theme))
diff --git a/themes/alphare b/themes/alphare
new file mode 100644
index 0000000..66df78d
--- /dev/null
+++ b/themes/alphare
@@ -0,0 +1,61 @@
+# vim: filetype=yaml
+---
+meta:
+ description: A beige theme by Alphare
+colors:
+ black: '#000000'
+ oldlace: '#FDF6E3'
+ darkslategray: '#002B36'
+ steelblue: '#268BD2'
+ dimgray: '#5F676A'
+ darkslategrey: '#484E50'
+ crimson: '#DC322F'
+ steelblue1: '#4C7899'
+ steelblue2: '#285577'
+ white: '#FFFFFF'
+ darkslategrey1: '#333333'
+ black1: '#222222'
+ gray: '#888888'
+ darkslategray1: '#2F343A'
+ darkred: '#900000'
+window_colors:
+ focused:
+ border: black
+ background: oldlace
+ text: darkslategray
+ indicator: black
+ focused_inactive:
+ border: black
+ background: dimgray
+ text: oldlace
+ indicator: darkslategrey
+ unfocused:
+ border: black
+ background: black
+ text: oldlace
+ indicator: black
+ urgent:
+ border: black
+ background: crimson
+ text: oldlace
+ indicator: crimson
+bar_colors:
+ background: oldlace
+ statusline: darkslategray
+ separator: black
+ focused_workspace:
+ border: black
+ background: steelblue
+ text: white
+ active_workspace:
+ border: darkslategrey1
+ background: black1
+ text: white
+ inactive_workspace:
+ border: darkslategrey1
+ background: black1
+ text: gray
+ urgent_workspace:
+ border: darkslategray1
+ background: darkred
+ text: white
diff --git a/themes/archlinux b/themes/archlinux
new file mode 100644
index 0000000..bfad5aa
--- /dev/null
+++ b/themes/archlinux
@@ -0,0 +1,46 @@
+# vim: filetype=yaml
+# TODO: use color aliases to make the theme more readable
+---
+meta:
+ description: 'Archlinux theme by okraits <http://okraits.de>'
+window_colors:
+ focused:
+ border: '#0088CC'
+ background: '#0088CC'
+ text: '#ffffff'
+ indicator: '#dddddd'
+ focused_inactive:
+ border: '#333333'
+ background: '#333333'
+ text: '#888888'
+ indicator: '#292d2e'
+ unfocused:
+ border: '#333333'
+ background: '#333333'
+ text: '#888888'
+ indicator: '#292d2e'
+ urgent:
+ border: '#2f343a'
+ background: '#900000'
+ text: '#ffffff'
+ indicator: '#900000'
+bar_colors:
+ separator: '#666666'
+ background: '#222222'
+ statusline: '#dddddd'
+ focused_workspace:
+ border: '#0088CC'
+ background: '#0088CC'
+ text: '#ffffff'
+ active_workspace:
+ border: '#333333'
+ background: '#333333'
+ text: '#ffffff'
+ inactive_workspace:
+ border: '#333333'
+ background: '#333333'
+ text: '#888888'
+ urgent_workspace:
+ border: '#2f343a'
+ background: '#900000'
+ text: '#ffffff'
diff --git a/themes/base16-tomorrow b/themes/base16-tomorrow
new file mode 100644
index 0000000..dfab555
--- /dev/null
+++ b/themes/base16-tomorrow
@@ -0,0 +1,63 @@
+# vim: filetype=yaml
+---
+colors:
+ base00: '#1d1f21'
+ base01: '#282a2e'
+ base02: '#373b41'
+ base03: '#969896'
+ base04: '#b4b7b4'
+ base05: '#c5c8c6'
+ base06: '#e0e0e0'
+ base07: '#ffffff'
+ base08: '#cc6666'
+ base09: '#de935f'
+ base0A: '#f0c674'
+ base0B: '#b5bd68'
+ base0C: '#8abeb7'
+ base0D: '#81a2be'
+ base0E: '#b294bb'
+ base0F: '#a3685a'
+
+meta:
+ description: 'Base16 Tomorrow, by Chris Kempson (http://chriskempson.com)'
+window_colors:
+ focused:
+ border: 'base0D'
+ background: 'base0D'
+ text: 'base00'
+ indicator: 'base01'
+ focused_inactive:
+ border: 'base02'
+ background: 'base02'
+ text: 'base03'
+ indicator: 'base01'
+ unfocused:
+ border: 'base01'
+ background: 'base01'
+ text: 'base03'
+ indicator: 'base01'
+ urgent:
+ border: 'base02'
+ background: 'base08'
+ text: 'base07'
+ indicator: 'base08'
+bar_colors:
+ separator: 'base03'
+ background: 'base00'
+ statusline: 'base05'
+ focused_workspace:
+ border: 'base0D'
+ background: 'base0D'
+ text: 'base00'
+ active_workspace:
+ border: 'base02'
+ background: 'base02'
+ text: 'base07'
+ inactive_workspace:
+ border: 'base01'
+ background: 'base01'
+ text: 'base03'
+ urgent_workspace:
+ border: 'base08'
+ background: 'base08'
+ text: 'base07'
diff --git a/themes/debian b/themes/debian
new file mode 100644
index 0000000..16a5380
--- /dev/null
+++ b/themes/debian
@@ -0,0 +1,46 @@
+# vim: filetype=yaml
+# TODO: use color aliases to make the theme more readable
+---
+meta:
+ description: 'Debian theme by lasers'
+window_colors:
+ focused:
+ border: '#d70a53'
+ background: '#d70a53'
+ text: '#ffffff'
+ indicator: '#8c0333'
+ focused_inactive:
+ border: '#333333'
+ background: '#333333'
+ text: '#888888'
+ indicator: '#333333'
+ unfocused:
+ border: '#333333'
+ background: '#333333'
+ text: '#888888'
+ indicator: '#333333'
+ urgent:
+ border: '#eb709b'
+ background: '#eb709b'
+ text: '#ffffff'
+ indicator: '#eb709b'
+bar_colors:
+ separator: '#444444'
+ background: '#222222'
+ statusline: '#666666'
+ focused_workspace:
+ border: '#d70a53'
+ background: '#d70a53'
+ text: '#ffffff'
+ active_workspace:
+ border: '#333333'
+ background: '#333333'
+ text: '#888888'
+ inactive_workspace:
+ border: '#333333'
+ background: '#333333'
+ text: '#888888'
+ urgent_workspace:
+ border: '#eb709b'
+ background: '#eb709b'
+ text: '#ffffff'
diff --git a/themes/deep-purple b/themes/deep-purple
new file mode 100644
index 0000000..7474fa3
--- /dev/null
+++ b/themes/deep-purple
@@ -0,0 +1,60 @@
+# vim: filetype=yaml
+---
+meta:
+ description: 'Inspired by the Purple and Default themes. By jcpst <http://jcpst.com>'
+bar_colors:
+ separator: dimgrey
+ background: black
+ statusline: white
+ focused_workspace:
+ border: indigo
+ background: indigo
+ text: white
+ active_workspace:
+ border: darkslategrey
+ background: dimgray
+ text: white
+ inactive_workspace:
+ border: black
+ background: black
+ text: gray
+ urgent_workspace:
+ border: darkslategray
+ background: darkred
+ text: white
+colors:
+ dimgrey: '#666666'
+ black: '#000000'
+ white: '#ffffff'
+ indigo: '#551a8b'
+ darkslategrey: '#333333'
+ dimgray: '#5f676a'
+ gray: '#888888'
+ darkslategray: '#2f343a'
+ darkred: '#900000'
+ midnightblue: '#3b1261'
+ indigo1: '#662b9c'
+ darkslategrey1: '#484e50'
+ black1: '#222222'
+ darkslategray1: '#292d2e'
+window_colors:
+ focused:
+ border: midnightblue
+ background: midnightblue
+ text: white
+ indicator: indigo1
+ focused_inactive:
+ border: darkslategrey
+ background: dimgray
+ text: white
+ indicator: darkslategrey1
+ unfocused:
+ border: black1
+ background: black1
+ text: gray
+ indicator: darkslategray1
+ urgent:
+ border: darkslategray
+ background: darkred
+ text: white
+ indicator: darkred
diff --git a/themes/default b/themes/default
new file mode 100644
index 0000000..d4b522f
--- /dev/null
+++ b/themes/default
@@ -0,0 +1,46 @@
+# vim: filetype=yaml
+# TODO: use color aliases to make the theme more readable
+---
+meta:
+ description: 'Default theme for i3wm <http://i3wm.org>'
+window_colors:
+ focused:
+ border: '#4c7899'
+ background: '#285577'
+ text: '#ffffff'
+ indicator: '#2e9ef4'
+ focused_inactive:
+ border: '#333333'
+ background: '#5f676a'
+ text: '#ffffff'
+ indicator: '#484e50'
+ unfocused:
+ border: '#333333'
+ background: '#222222'
+ text: '#888888'
+ indicator: '#292d2e'
+ urgent:
+ border: '#2f343a'
+ background: '#900000'
+ text: '#ffffff'
+ indicator: '#900000'
+bar_colors:
+ separator: '#666666'
+ background: '#000000'
+ statusline: '#ffffff'
+ focused_workspace:
+ border: '#4c7899'
+ background: '#285577'
+ text: '#ffffff'
+ active_workspace:
+ border: '#333333'
+ background: '#5f676a'
+ text: '#ffffff'
+ inactive_workspace:
+ border: '#333333'
+ background: '#222222'
+ text: '#888888'
+ urgent_workspace:
+ border: '#2f343a'
+ background: '#900000'
+ text: '#ffffff'
diff --git a/themes/flat-gray b/themes/flat-gray
new file mode 100644
index 0000000..964ffd0
--- /dev/null
+++ b/themes/flat-gray
@@ -0,0 +1,37 @@
+# vim: filetype=yaml
+---
+meta:
+ description: flat gray based theme
+colors:
+ darkslategrey: '#333333'
+ white: '#FFFFFF'
+ black: '#000000'
+ darkgray: '#AAAAAA'
+ black1: '#282828'
+window_colors:
+ unfocused:
+ border: darkslategrey
+ background: darkslategrey
+ text: white
+ indicator: darkslategrey
+ focused_inactive:
+ border: darkslategrey
+ background: darkslategrey
+ text: white
+ indicator: black
+ focused:
+ border: black
+ background: black
+ text: white
+ indicator: black
+bar_colors:
+ statusline: darkgray
+ background: darkslategrey
+ focused_workspace:
+ border: black1
+ background: black1
+ text: white
+ inactive_workspace:
+ border: darkslategrey
+ background: darkslategrey
+ text: darkgray
diff --git a/themes/gruvbox b/themes/gruvbox
new file mode 100644
index 0000000..27739a8
--- /dev/null
+++ b/themes/gruvbox
@@ -0,0 +1,54 @@
+# vim: filetype=yaml
+---
+meta:
+ description: Made by freeware-preacher <https://github.com/freeware-preacher> to match gruvbox by morhetz <https://github.com/morhetz>
+bar_colors:
+ separator: grey
+ background: black
+ statusline: wheat
+ focused_workspace:
+ border: darkseagreen
+ background: darkseagreen
+ text: black
+ active_workspace:
+ border: black1
+ background: black1
+ text: grey
+ inactive_workspace:
+ border: darkslategray
+ background: darkslategray
+ text: grey
+ urgent_workspace:
+ border: firebrick
+ background: firebrick
+ text: wheat
+colors:
+ grey: '#928374'
+ black: '#282828'
+ wheat: '#ebdbb2'
+ darkseagreen: '#689d6a'
+ black1: '#1d2021'
+ darkslategray: '#32302f'
+ firebrick: '#cc241d'
+window_colors:
+ focused:
+ border: darkseagreen
+ background: darkseagreen
+ text: black
+ indicator: black
+ focused_inactive:
+ border: black1
+ background: black1
+ text: grey
+ indicator: black
+ unfocused:
+ border: darkslategray
+ background: darkslategray
+ text: grey
+ indicator: black
+ urgent:
+ border: firebrick
+ background: firebrick
+ text: wheat
+ indicator: black
+
diff --git a/themes/icelines b/themes/icelines
new file mode 100644
index 0000000..ad56aa3
--- /dev/null
+++ b/themes/icelines
@@ -0,0 +1,52 @@
+# vim: filetype=yaml
+# Theme meant to be simple but visually efficient
+---
+meta:
+ description: 'icelines theme by mbfraga'
+colors:
+ darkgray: '#141414'
+ ice: '#00b0ef'
+ gray: '#7d7d7d'
+ darkred: '#472b2a'
+ urgent: '#ff7066'
+window_colors:
+ focused:
+ border: 'ice'
+ background: 'ice'
+ text: 'darkgray'
+ indicator: 'urgent'
+ focused_inactive:
+ border: 'darkgray'
+ background: 'darkgray'
+ text: 'ice'
+ indicator: 'darkred'
+ unfocused:
+ border: 'darkgray'
+ background: 'darkgray'
+ text: 'gray'
+ indicator: 'darkgray'
+ urgent:
+ border: 'urgent'
+ background: 'urgent'
+ text: 'darkgray'
+ indicator: 'urgent'
+bar_colors:
+ separator: 'gray'
+ background: 'darkgray'
+ statusline: 'ice'
+ focused_workspace:
+ border: 'ice'
+ background: 'darkgray'
+ text: 'ice'
+ active_workspace:
+ border: 'darkgray'
+ background: 'darkgray'
+ text: 'ice'
+ inactive_workspace:
+ border: 'darkgray'
+ background: 'darkgray'
+ text: 'gray'
+ urgent_workspace:
+ border: 'urgent'
+ background: 'darkgray'
+ text: 'urgent'
diff --git a/themes/lime b/themes/lime
new file mode 100644
index 0000000..fa7f44b
--- /dev/null
+++ b/themes/lime
@@ -0,0 +1,57 @@
+# vim: filetype=yaml
+---
+meta:
+ description: 'Lime theme by wei2912 <http://wei2912.github.io>, based on Archlinux theme by okraits <http://okraits.de>'
+colors:
+ lime: '#4E9C00' # main colour
+ lime_inactive: '#1B3600'
+
+ red: '#C20000' # urgent colour
+ black: '#333333' # background
+
+ txt_active: '#FFFFFF' # white
+ txt_inactive: '#888888' # grey
+
+ indicator: '#FFFFFF' # white
+
+window_colors:
+ focused:
+ border: 'lime'
+ background: 'lime'
+ text: 'txt_active'
+ indicator: 'indicator'
+ focused_inactive:
+ border: 'lime_inactive'
+ background: 'lime_inactive'
+ text: 'txt_inactive'
+ indicator: 'indicator'
+ unfocused:
+ border: 'black'
+ background: 'black'
+ text: 'txt_inactive'
+ indicator: 'indicator'
+ urgent:
+ border: 'red'
+ background: 'red'
+ text: 'txt_active'
+ indicator: 'indicator'
+bar_colors:
+ separator: 'txt_inactive'
+ background: 'black'
+ statusline: 'txt_active'
+ focused_workspace:
+ border: 'lime'
+ background: 'lime'
+ text: 'txt_active'
+ active_workspace:
+ border: 'black'
+ background: 'black'
+ text: 'txt_active'
+ inactive_workspace:
+ border: 'black'
+ background: 'black'
+ text: 'txt_inactive'
+ urgent_workspace:
+ border: 'red'
+ background: 'red'
+ text: 'txt_active'
diff --git a/themes/mate b/themes/mate
new file mode 100644
index 0000000..3347653
--- /dev/null
+++ b/themes/mate
@@ -0,0 +1,54 @@
+# vim: filetype=yaml
+---
+meta:
+ description: 'Theme for blending i3 into MATE'
+colors:
+ green: '#526532'
+ lightgreen: '#a4cb64'
+ darkgrey: '#3c3b37'
+ grey: '#4c4c4c'
+ lightgrey: '#aea79f'
+ black: '#000000'
+ white: '#ffffff'
+ red: '#FF0000'
+window_colors:
+ focused:
+ border: green
+ background: green
+ text: white
+ indicator: lightgreen
+ focused_inactive:
+ border: lightgrey
+ background: lightgrey
+ text: darkgrey
+ indicator: lightgrey
+ unfocused:
+ border: darkgrey
+ background: darkgrey
+ text: lightgrey
+ indicator: darkgrey
+ urgent:
+ border: red
+ background: red
+ text: white
+ indicator: red
+bar_colors:
+ separator: white
+ background: darkgrey
+ statusline: white
+ focused_workspace:
+ border: green
+ background: green
+ text: white
+ active_workspace:
+ border: lightgrey
+ background: lightgrey
+ text: darkgrey
+ inactive_workspace:
+ border: darkgrey
+ background: darkgrey
+ text: lightgrey
+ urgent_workspace:
+ border: red
+ background: red
+ text: white
diff --git a/themes/oceanic-next b/themes/oceanic-next
new file mode 100644
index 0000000..7a0c193
--- /dev/null
+++ b/themes/oceanic-next
@@ -0,0 +1,62 @@
+# vim: filetype=yaml
+---
+meta:
+ description: Theme by Valentin Weber inspired by voronianski (https://github.com/voronianski/oceanic-next-color-scheme)
+bar_colors:
+ separator: base03
+ background: base00
+ statusline: base07
+ focused_workspace:
+ border: base0D
+ background: base0D
+ text: base00
+ active_workspace:
+ border: base0C
+ background: base0C
+ text: base00
+ inactive_workspace:
+ border: base01
+ background: base01
+ text: base07
+ urgent_workspace:
+ border: base08
+ background: base08
+ text: base00
+colors:
+ base00: '#1B2B34'
+ base01: '#343D46'
+ base02: '#4F5B66'
+ base03: '#65737E'
+ base04: '#A7ADBA'
+ base05: '#C0C5CE'
+ base06: '#CDD3DE'
+ base07: '#D8DEE9'
+ base08: '#EC5f67'
+ base09: '#F99157'
+ base0A: '#FAC863'
+ base0B: '#99C794'
+ base0C: '#5FB3B3'
+ base0D: '#6699CC'
+ base0E: '#C594C5'
+ base0F: '#AB7967'
+window_colors:
+ focused:
+ border: base0D
+ background: base0D
+ text: base00
+ indicator: base0D
+ focused_inactive:
+ border: base0C
+ background: base0C
+ text: base07
+ indicator: base04
+ unfocused:
+ border: base01
+ background: base01
+ text: base07
+ indicator: base01
+ urgent:
+ border: base08
+ background: base08
+ text: base00
+ indicator: base08
diff --git a/themes/okraits b/themes/okraits
new file mode 100644
index 0000000..f48bb82
--- /dev/null
+++ b/themes/okraits
@@ -0,0 +1,46 @@
+# vim: filetype=yaml
+# TODO: use color aliases to make the theme more readable
+---
+meta:
+ description: 'A simple theme by okraits <http://okraits.de>'
+window_colors:
+ focused:
+ border: '#888888'
+ background: '#dddddd'
+ text: '#222222'
+ indicator: '#2e9ef4'
+ focused_inactive:
+ border: '#333333'
+ background: '#555555'
+ text: '#bbbbbb'
+ indicator: '#484e50'
+ unfocused:
+ border: '#333333'
+ background: '#333333'
+ text: '#888888'
+ indicator: '#292d2e'
+ urgent:
+ border: '#2f343a'
+ background: '#900000'
+ text: '#ffffff'
+ indicator: '#900000'
+bar_colors:
+ separator: '#666666'
+ background: '#333333'
+ statusline: '#bbbbbb'
+ focused_workspace:
+ border: '#888888'
+ background: '#dddddd'
+ text: '#222222'
+ active_workspace:
+ border: '#333333'
+ background: '#555555'
+ text: '#bbbbbb'
+ inactive_workspace:
+ border: '#333333'
+ background: '#555555'
+ text: '#bbbbbb'
+ urgent_workspace:
+ border: '#2f343a'
+ background: '#900000'
+ text: '#ffffff'
diff --git a/themes/purple b/themes/purple
new file mode 100644
index 0000000..ddbee55
--- /dev/null
+++ b/themes/purple
@@ -0,0 +1,56 @@
+# vim: filetype=yaml
+---
+meta:
+ description: 'Purple theme by AAlakkad <http://aalakkad.me>'
+bar_colors:
+ separator: darkgray
+ background: black
+ statusline: white
+ focused_workspace:
+ border: darkslateblue
+ background: darkslateblue
+ text: lightgray
+ active_workspace:
+ border: khaki
+ background: khaki
+ text: black1
+ inactive_workspace:
+ border: black
+ background: black
+ text: darkgray
+ urgent_workspace:
+ border: firebrick
+ background: firebrick
+ text: white
+colors:
+ darkgray: '#AAAAAA'
+ black: '#222133'
+ white: '#FFFFFF'
+ wheat: '#e7d8b1'
+ black1: '#181715'
+ khaki: '#DCCD69'
+ firebrick: '#CE4045'
+ darkslateblue: '#664477'
+ lightgray: '#cccccc'
+ mediumpurple: '#A074C4'
+window_colors:
+ focused:
+ border: darkslateblue
+ background: darkslateblue
+ text: lightgray
+ indicator: wheat
+ focused_inactive:
+ border: wheat
+ background: wheat
+ text: black1
+ indicator: mediumpurple
+ unfocused:
+ border: black
+ background: black
+ text: darkgray
+ indicator: mediumpurple
+ urgent:
+ border: firebrick
+ background: firebrick
+ text: wheat
+ indicator: khaki
diff --git a/themes/seti b/themes/seti
new file mode 100644
index 0000000..571dd34
--- /dev/null
+++ b/themes/seti
@@ -0,0 +1,58 @@
+# vim: filetype=yaml
+---
+meta:
+ description: 'seti theme by Jody Ribton - based on the seti Atom theme at https://atom.io/themes/seti-ui'
+colors:
+ blue: '#4F99D3'
+ green: '#9FCA56'
+ yellow: '#DCCD69'
+ red: '#CE4045'
+ orange: '#FF8315'
+ purple: '#A074C4'
+ grey: '#1f2326'
+ white: '#FFFFFF'
+ dull_white: '#AAAAAA'
+ base: '#151718'
+window_colors:
+ focused:
+ border: 'blue'
+ background: 'blue'
+ text: 'base'
+ indicator: 'green'
+ focused_inactive:
+ border: 'green'
+ background: 'green'
+ text: 'base'
+ indicator: 'purple'
+ unfocused:
+ border: 'grey'
+ background: 'grey'
+ text: 'dull_white'
+ indicator: 'purple'
+ urgent:
+ border: 'red'
+ background: 'red'
+ text: 'white'
+ indicator: 'yellow'
+bar_colors:
+ separator: 'dull_white'
+ background: 'grey'
+ statusline: 'white'
+ focused_workspace:
+ border: 'green'
+ background: 'green'
+ text: 'base'
+ active_workspace:
+ border: 'yellow'
+ background: 'yellow'
+ text: 'base'
+ inactive_workspace:
+ border: 'grey'
+ background: 'grey'
+ text: 'dull_white'
+ urgent_workspace:
+ border: 'red'
+ background: 'red'
+ text: 'white'
+
+
diff --git a/themes/slate b/themes/slate
new file mode 100644
index 0000000..7db43ce
--- /dev/null
+++ b/themes/slate
@@ -0,0 +1,62 @@
+# vim: filetype=yaml
+---
+meta:
+ description: 'Slate theme by Jody Ribton <jody@ribton.me>'
+colors:
+ # focused
+ slate: '#586e75' # main color
+ cream: '#fdf6e3' # focused text color
+ sky_blue: '#268bd2' # focused indicator color
+
+ # inactive and unfocused
+ dark_teal: '#073642' # inactive windoww border
+ darker_teal: '#002b36' # unfocused window border
+ white_teal: '#93a1a1' # inactive text
+ grey: '#aea79f' # statusline
+
+ # urgent
+ red: '#dc322f' # urgent window border
+ white: '#ffffff' # workspace text
+ purple: '#77216f' # urgent workspace color
+
+window_colors:
+ focused:
+ border: 'slate'
+ background: 'slate'
+ text: 'cream'
+ indicator: 'sky_blue'
+ focused_inactive:
+ border: 'dark_teal'
+ background: 'dark_teal'
+ text: 'white_teal'
+ indicator: 'darker_teal'
+ unfocused:
+ border: 'darker_teal'
+ background: 'darker_teal'
+ text: 'slate'
+ indicator: 'darker_teal'
+ urgent:
+ border: 'red'
+ background: 'red'
+ text: 'cream'
+ indicator: 'red'
+bar_colors:
+ separator: 'slate'
+ background: 'darker_teal'
+ statusline: 'grey'
+ focused_workspace:
+ border: 'slate'
+ background: 'slate'
+ text: 'white'
+ active_workspace:
+ border: 'dark_teal'
+ background: 'dark_teal'
+ text: 'white'
+ inactive_workspace:
+ border: 'darker_teal'
+ background: 'darker_teal'
+ text: 'grey'
+ urgent_workspace:
+ border: 'purple'
+ background: 'purple'
+ text: 'white'
diff --git a/themes/solarized b/themes/solarized
new file mode 100644
index 0000000..6bd84b0
--- /dev/null
+++ b/themes/solarized
@@ -0,0 +1,63 @@
+# vim: filetype=yaml
+---
+meta:
+ description: 'Solarized theme by lasers'
+colors:
+ base03: '#002b36'
+ base02: '#073642'
+ base01: '#586e75'
+ base00: '#657b83'
+ base0: '#839496'
+ base1: '#93a1a1'
+ base2: '#eee8d5'
+ base3: '#fdf6e3'
+ yellow: '#b58900'
+ orange: '#cb4b16'
+ red: '#dc322f'
+ magenta: '#d33682'
+ violet: '#6c71c4'
+ blue: '#268bd2'
+ cyan: '#2aa198'
+ green: '#859900'
+ custom: '#1c5766'
+window_colors:
+ focused:
+ border: 'green'
+ background: 'green'
+ text: 'base3'
+ indicator: 'violet'
+ focused_inactive:
+ border: 'base02'
+ background: 'base02'
+ text: 'base2'
+ indicator: 'violet'
+ unfocused:
+ border: 'base02'
+ background: 'base02'
+ text: 'base1'
+ indicator: 'base01'
+ urgent:
+ border: 'magenta'
+ background: 'magenta'
+ text: 'base3'
+ indicator: 'red'
+bar_colors:
+ separator: 'red'
+ background: 'base03'
+ statusline: 'blue'
+ focused_workspace:
+ border: 'base3'
+ background: 'green'
+ text: 'base3'
+ active_workspace:
+ border: 'base3'
+ background: 'violet'
+ text: 'base3'
+ inactive_workspace:
+ border: 'base01'
+ background: 'base1'
+ text: 'base03'
+ urgent_workspace:
+ border: 'magenta'
+ background: 'magenta'
+ text: 'base3'
diff --git a/themes/tomorrow-night-80s b/themes/tomorrow-night-80s
new file mode 100644
index 0000000..c7ee375
--- /dev/null
+++ b/themes/tomorrow-night-80s
@@ -0,0 +1,60 @@
+# vim: filetype=yaml
+# TODO: use color aliases to make the theme more readable
+---
+colors:
+ background: '#2d2d2d'
+ current_line: '#393939'
+ selection: '#515151'
+ foreground: '#cccccc'
+ comment: '#999999'
+ red: '#f2777a'
+ orange: '#f99157'
+ yellow: '#ffcc66'
+ green: '#99cc99'
+ aqua: '#66cccc'
+ blue: '#6699cc'
+ purple: '#cc99cc'
+
+meta:
+ description: 'Tomorrow Night 80s theme by jmfurlott <http://jmfurlott.com>'
+window_colors:
+ focused:
+ border: 'green'
+ background: 'green'
+ text: '#000000'
+ indicator: 'background'
+ focused_inactive:
+ border: 'current_line'
+ background: 'current_line'
+ text: '#888888'
+ indicator: '#292d2e'
+ unfocused:
+ border: 'background'
+ background: 'background'
+ text: 'comment'
+ indicator: '#292d2e'
+ urgent:
+ border: '#2f343a'
+ background: '#900000'
+ text: '#ffffff'
+ indicator: '#900000'
+bar_colors:
+ separator: 'selection'
+ background: 'background'
+ statusline: 'foreground'
+ focused_workspace:
+ border: 'green'
+ background: 'green'
+ text: '#000000'
+ active_workspace:
+ border: '#333333'
+ background: '#333333'
+ text: '#ffffff'
+ inactive_workspace:
+ border: 'background'
+ background: 'background'
+ text: 'comment'
+ urgent_workspace:
+ border: 'red'
+ background: 'red'
+ text: '#ffffff'
diff --git a/themes/ubuntu b/themes/ubuntu
new file mode 100644
index 0000000..32389e1
--- /dev/null
+++ b/themes/ubuntu
@@ -0,0 +1,46 @@
+# vim: filetype=yaml
+# TODO: use color aliases to make the theme more readable
+---
+meta:
+ description: 'Ubuntu theme by lasers'
+window_colors:
+ focused:
+ border: '#dd4814'
+ background: '#dd4814'
+ text: '#ffffff'
+ indicator: '#902a07'
+ focused_inactive:
+ border: '#5e2750'
+ background: '#5e2750'
+ text: '#aea79f'
+ indicator: '#5e2750'
+ unfocused:
+ border: '#5e2750'
+ background: '#5e2750'
+ text: '#aea79f'
+ indicator: '#5e2750'
+ urgent:
+ border: '#77216f'
+ background: '#77216f'
+ text: '#ffffff'
+ indicator: '#efb73e'
+bar_colors:
+ separator: '#333333'
+ background: '#2c001e'
+ statusline: '#aea79f'
+ focused_workspace:
+ border: '#dd4814'
+ background: '#dd4814'
+ text: '#ffffff'
+ active_workspace:
+ border: '#902a07'
+ background: '#902a07'
+ text: '#aea79f'
+ inactive_workspace:
+ border: '#902a07'
+ background: '#902a07'
+ text: '#aea79f'
+ urgent_workspace:
+ border: '#77216f'
+ background: '#77216f'
+ text: '#ffffff'