diff options
Diffstat (limited to '.config/vis')
| -rw-r--r-- | .config/vis/visrc.lua | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/.config/vis/visrc.lua b/.config/vis/visrc.lua new file mode 100644 index 0000000..2c78715 --- /dev/null +++ b/.config/vis/visrc.lua @@ -0,0 +1,12 @@ +require('vis') + +-- Auto-themed colors from wallust (palette derived from the wallpaper). +-- Falls back to a built-in theme if wallust hasn't generated one yet. +local wallust = os.getenv('HOME') .. '/.cache/wallust/vis-theme.lua' +if not pcall(dofile, wallust) then + pcall(require, 'themes.solarized') +end + +vis.events.subscribe(vis.events.WIN_OPEN, function(win) + vis:command('set number') +end) |
