mirror of
https://gitlab.com/manzerbredes/i3-colors.git
synced 2025-04-06 08:36:24 +02:00
Add theme manager
This commit is contained in:
parent
602c70c517
commit
71688839f0
22 changed files with 1077 additions and 10 deletions
|
@ -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)
|
||||
|
||||
|
||||
|
|
|
@ -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":{
|
||||
|
|
30
src/theme.py
Normal file
30
src/theme.py
Normal file
|
@ -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))
|
61
themes/alphare
Normal file
61
themes/alphare
Normal file
|
@ -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
|
46
themes/archlinux
Normal file
46
themes/archlinux
Normal file
|
@ -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'
|
63
themes/base16-tomorrow
Normal file
63
themes/base16-tomorrow
Normal file
|
@ -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'
|
46
themes/debian
Normal file
46
themes/debian
Normal file
|
@ -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'
|
60
themes/deep-purple
Normal file
60
themes/deep-purple
Normal file
|
@ -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
|
46
themes/default
Normal file
46
themes/default
Normal file
|
@ -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'
|
37
themes/flat-gray
Normal file
37
themes/flat-gray
Normal file
|
@ -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
|
54
themes/gruvbox
Normal file
54
themes/gruvbox
Normal file
|
@ -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
|
||||
|
52
themes/icelines
Normal file
52
themes/icelines
Normal file
|
@ -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'
|
57
themes/lime
Normal file
57
themes/lime
Normal file
|
@ -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'
|
54
themes/mate
Normal file
54
themes/mate
Normal file
|
@ -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
|
62
themes/oceanic-next
Normal file
62
themes/oceanic-next
Normal file
|
@ -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
|
46
themes/okraits
Normal file
46
themes/okraits
Normal file
|
@ -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'
|
56
themes/purple
Normal file
56
themes/purple
Normal file
|
@ -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
|
58
themes/seti
Normal file
58
themes/seti
Normal file
|
@ -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'
|
||||
|
||||
|
62
themes/slate
Normal file
62
themes/slate
Normal file
|
@ -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'
|
63
themes/solarized
Normal file
63
themes/solarized
Normal file
|
@ -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'
|
60
themes/tomorrow-night-80s
Normal file
60
themes/tomorrow-night-80s
Normal file
|
@ -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'
|
46
themes/ubuntu
Normal file
46
themes/ubuntu
Normal file
|
@ -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'
|
Loading…
Add table
Reference in a new issue