about summary refs log tree commit diff stats
path: root/config/vis/themes
diff options
context:
space:
mode:
authorensa <psii@riseup.net>2020-05-30 02:01:43 -0700
committerensa <psii@riseup.net>2020-05-30 02:27:02 -0700
commit310c76b161e680a698995d61b2a741a05b384fbe (patch)
tree39338035a918c2466d27f8041d3f6416830e84e1 /config/vis/themes
parent7c28231047f1b9c07ce6b85366afe1dce821cc7a (diff)
downloadcfg-310c76b161e680a698995d61b2a741a05b384fbe.tar.gz
new functionality, themes, man page
bin/
	bar.sh: pipes spoon into dzen2
	lh: added gemini/gopher handling with bombadillo
	    shortened (no loss of functionality)
	opener: shortened (no loss of functionality)
config/
	X11/xprofile: added bar.sh
	aliasrc: just read it
	color/colors.sh: color environment variables, like wal's
	cwmrc: font specified as otb
	       swapped oxbar with bar.sh
	ksh/
		completions.ksh:
			added completions for shortcut functions
		diraliases:
			redone with self-references, more complete
		functions/
			pcl: copies password for $1 to selection
			     uses clip if two arguments
			pct: copies totp for $1 to selection
			     uses clip if two arguments
			pkg_complete:
				uses cache diralias
		kshrc: added functions command
		       fixed ensuring existence of HISTFILE's dir
	nvim/init.vim: deleted, no longer used
	vis/
		themes/causalagency.lua: good colorscheme for vis
		themes/fake256.lua: scrapped
		visrc.lua: removed change-256color disable
			   added cul nu ai
	youtube-dl/
		config, config-music: fixed output dir
	zathura/zathurarc: specified cozette otb
data/
	applications/text.desktop
		now uses xterm and vis
	man/man7/user-hier.7
		based off hier(7), describes structure of ..
			home directory
Diffstat (limited to 'config/vis/themes')
-rw-r--r--config/vis/themes/causalagency.lua63
-rw-r--r--config/vis/themes/fake256.lua64
2 files changed, 63 insertions, 64 deletions
diff --git a/config/vis/themes/causalagency.lua b/config/vis/themes/causalagency.lua
new file mode 100644
index 0000000..723328a
--- /dev/null
+++ b/config/vis/themes/causalagency.lua
@@ -0,0 +1,63 @@
+-- uses 24-bit color values, based off causalagency's scheme
+local lexers = vis.lexers
+
+local colors = {
+	['black'] = '#16150e',
+	['red'] = '#a32810',
+	['green'] = '#727a18',
+	['brown'] = '#a37720',
+	['blue'] = '#3d6266',
+	['purp'] = '#7a4955',
+	['cyan'] = '#557a55',
+	['ligrey'] = '#8e8463',
+	['dagrey'] = '#4c4635',
+	['lired'] = '#cc3214',
+	['ligreen'] = '#8e991e',
+	['yellow'] = '#cc9528',
+	['liblue'] = '#4c7b7f',
+	['lipurp'] = '#995b6b',
+	['licyan'] = '#6b996b',
+	['white'] = '#ccbc8e',
+	['back'] = '#14130e',
+	['fore'] = '#b7a980',
+	['sel'] = '#a34110',
+	['curs'] = '#72694f',
+}
+
+local fg = ',fore:'..colors.fore..','
+local bg = ',back:'..colors.back..','
+
+lexers.STYLE_DEFAULT = bg..fg
+lexers.STYLE_NOTHING = bg
+lexers.STYLE_CLASS = 'fore:'..colors.yellow
+lexers.STYLE_COMMENT = 'fore:'..colors.ligrey..',italics'
+lexers.STYLE_CONSTANT = 'fore:'..colors.cyan
+lexers.STYLE_DEFINITION = 'fore:'..colors.blue
+lexers.STYLE_ERROR = 'back:'..colors.lired..fg..',italics'
+lexers.STYLE_FUNCTION = 'fore:'..colors.cyan
+lexers.STYLE_KEYWORD = 'fore:'..colors.liblue
+lexers.STYLE_LABEL = 'fore:'..colors.yellow
+lexers.STYLE_NUMBER = 'fore:'..colors.cyan
+lexers.STYLE_OPERATOR = 'fore:'..colors.ligrey
+lexers.STYLE_REGEX = 'fore:'..colors.ligreen
+lexers.STYLE_STRING = 'fore:'..colors.cyan
+lexers.STYLE_PREPROCESSOR = 'fore:'..colors.green
+lexers.STYLE_TAG = 'fore:'..colors.green
+lexers.STYLE_TYPE = 'fore:'..colors.licyan
+lexers.STYLE_VARIABLE = 'fore:'..colors.licyan
+lexers.STYLE_WHITESPACE = 'fore:'..colors.dagrey
+lexers.STYLE_EMBEDDED = 'back:'..colors.lipurp
+lexers.STYLE_IDENTIFIER = 'fore:'..colors.green
+
+lexers.STYLE_LINENUMBER = 'fore:'..colors.dagrey
+lexers.STYLE_LINENUMBER_CURSOR = 'back:'..colors.back..',fore:'..colors.ligrey
+lexers.STYLE_CURSOR = 'fore:'..colors.curs..',reverse'
+lexers.STYLE_CURSOR_PRIMARY = lexers.STYLE_CURSOR..',bold'
+lexers.STYLE_CURSOR_LINE = 'fore:'..colors.dagrey
+lexers.STYLE_COLOR_COLUMN = 'back:'..colors.dagrey
+lexers.STYLE_SELECTION = 'back:'..colors.sel
+lexers.STYLE_STATUS = 'fore:'..colors.ligrey..',back:'..colors.black
+lexers.STYLE_STATUS_FOCUSED = 'fore:'..colors.dagrey..',back:'..colors.white
+lexers.STYLE_SEPARATOR = lexers.STYLE_DEFAULT
+lexers.STYLE_INFO = lexers.STYLE_DEFAULT..',bold'
+lexers.STYLE_EOF = ''
diff --git a/config/vis/themes/fake256.lua b/config/vis/themes/fake256.lua
deleted file mode 100644
index 7ed8f71..0000000
--- a/config/vis/themes/fake256.lua
+++ /dev/null
@@ -1,64 +0,0 @@
--- uses 24-bit color values to "trick" vis into using correct colors, based off vim's "zellner"
-local lexers = vis.lexers
-
-local colors = {
-	['col0'] = '#16150e',
-	['col1'] = '#a32810',
-	['col2'] = '#727a18',
-	['col3'] = '#a37720',
-	['col4'] = '#3d6266',
-	['col5'] = '#7a4955',
-	['col6'] = '#557a55',
-	['col7'] = '#8e8463',
-	['col8'] = '#4c4635',
-	['col9'] = '#cc3214',
-	['col10'] = '#8e991e',
-	['col11'] = '#cc9528',
-	['col12'] = '#4c7b7f',
-	['col13'] = '#995b6b',
-	['col14'] = '#6b996b',
-	['col15'] = '#ccbc8e',
-}
--- dark
-lexers.STYLE_DEFAULT ='back:default,fore:default' -- hi Normal -- correct
-lexers.STYLE_COMMENT = 'fore:'..colors.col9 -- hi Comment -- correct
-lexers.STYLE_CONSTANT = 'fore:'..colors.col13 -- hi Constant -- correct
-lexers.STYLE_SPECIAL = 'back:'..colors.col5 -- hi Special
-lexers.STYLE_IDENTIFIER = 'fore:default' -- hi Identifier -- correct
-lexers.STYLE_STATEMENT = 'fore:'..colors.col1 -- hi Statementa -- correct
-lexers.STYLE_PREPROCESSOR = 'fore:'..colors.col5 -- hi PreProc
-lexers.STYLE_TYPE = 'fore:'..colors.col12 -- hi Type -- correct
-lexers.STYLE_SELECTION = 'reverse' -- hi Visual
-lexers.STYLE_TAG = 'fore:'..colors.col2 -- hi Tag
-lexers.STYLE_ERROR = 'back:'..colors.col1..',fore:default,italics' -- hi Error
-lexers.STYLE_STATUS = 'back:default,fore:'..colors.col4..',reverse' -- hi StatusLineNC
-lexers.STYLE_STATUS_FOCUSED = lexers.STYLE_STATUS..',bold' -- hi StatusLine
-lexers.STYLE_NOTHING = 'back:default' -- hi Ignore
-lexers.STYLE_DEFINITION = 'fore:'..colors.col4 --
-lexers.STYLE_REGEX = 'fore:'..colors.col2 --
-lexers.STYLE_WHITESPACE = '' -- hi Whitespace
-lexers.STYLE_OPERATOR = lexers.STYLE_DEFAULT
-
-lexers.STYLE_FUNCTION = lexers.STYLE_DEFAULT
-lexers.STYLE_LINENUMBER = 'fore:default' -- hi LineNr
-lexers.STYLE_LINENUMBER_CURSOR = lexers.STYLE_LINENUMBER -- hi CursorLineNr
-lexers.STYLE_CURSOR = 'reverse' -- hi Cursor
-lexers.STYLE_CURSOR_PRIMARY = lexers.STYLE_CURSOR..',fore:yellow' --
-lexers.STYLE_CURSOR_LINE = 'underlined' -- hi CursorLine
-lexers.STYLE_COLOR_COLUMN = 'back:'..colors.col1 -- hi CursorColumn
-lexers.STYLE_SEPARATOR = lexers.STYLE_DEFAULT --
-lexers.STYLE_INFO = lexers.STYLE_DEFAULT..',bold' --
-lexers.STYLE_EOF = '' --
-
--- links
-lexers.STYLE_STRING = lexers.STYLE_CONSTANT
-lexers.STYLE_NUMBER = lexers.STYLE_CONSTANT
-
-lexers.STYLE_VARIABLE = lexers.STYLE_IDENTIFIER
-
-lexers.STYLE_LABEL = lexers.STYLE_STATEMENT
-lexers.STYLE_KEYWORD = lexers.STYLE_STATEMENT
-
-lexers.STYLE_EMBEDDED = lexers.STYLE_SPECIAL
-
-lexers.STYLE_CLASS = lexers.STYLE_TYPE