blob: 2c787159c4a16decd6335be09f0db51e6ac88330 (
plain)
1
2
3
4
5
6
7
8
9
10
11
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)
|