Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

dylanaraps/nosj

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 

Repository files navigation

nosj

A simple json parser written in pure bash.

The json is very loosely parsed and then turned into a bash associative array. There is no error handling of any kind in the parser and commas are ignored.

declare -A nosj
nosj["wallpaper"]='/home/black/Pictures/Wallpapers/supernicestreet.jpg'
nosj["alpha"]='100'
nosj["special.background"]='#211e1d'
nosj["special.foreground"]='#c7c6c6'
nosj["special.cursor"]='#c7c6c6'
nosj["colors.color0"]='#211e1d'
nosj["colors.color1"]='#aa9896'
nosj["colors.color2"]='#aa896e'
nosj["colors.color3"]='#a99582'
nosj["colors.color4"]='#9fa762'
nosj["colors.color5"]='#c0b8c2'
nosj["colors.color6"]='#a79ea7'
nosj["colors.color7"]='#c7c6c6'
nosj["colors.color8"]='#585655'
nosj["colors.color9"]='#aa9896'
nosj["colors.color10"]='#aa896e'
nosj["colors.color11"]='#a99582'
nosj["colors.color12"]='#9fa762'
nosj["colors.color13"]='#c0b8c2'
nosj["colors.color14"]='#a79ea7'
nosj["colors.color15"]='#c7c6c6'

Releases

No releases published

Packages

No packages published

Languages