vis
This commit is contained in:
parent
c56fadceb1
commit
35fee185e7
4 changed files with 13 additions and 0 deletions
8
modules/vis.lua
Normal file
8
modules/vis.lua
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
local vis_theme = theme.vis_theme
|
||||||
|
if vis_theme == nil then
|
||||||
|
vis_theme = "rose-pine-dawn-colorless"
|
||||||
|
end
|
||||||
|
|
||||||
|
save_config("vis.lua", [[
|
||||||
|
dofile(os.getenv('HOME').."/.config/vis/themes/{theme}.lua")
|
||||||
|
]], { theme = vis_theme })
|
|
@ -28,4 +28,5 @@ require 'modules/fnott'
|
||||||
require 'modules/fuzzel'
|
require 'modules/fuzzel'
|
||||||
require 'modules/lock'
|
require 'modules/lock'
|
||||||
require 'modules/shell'
|
require 'modules/shell'
|
||||||
|
require 'modules/vis'
|
||||||
|
|
||||||
|
|
|
@ -15,5 +15,7 @@ local theme = {
|
||||||
highlightMed = "dfdad9",
|
highlightMed = "dfdad9",
|
||||||
highlightHigh = "cecacd",
|
highlightHigh = "cecacd",
|
||||||
dark = false,
|
dark = false,
|
||||||
|
|
||||||
|
vis_theme = "rose-pine-dawn-colorless",
|
||||||
}
|
}
|
||||||
return require('utils/rose-pine-convert')(theme)
|
return require('utils/rose-pine-convert')(theme)
|
||||||
|
|
|
@ -15,5 +15,7 @@ local theme = {
|
||||||
highlightMed = "44415a",
|
highlightMed = "44415a",
|
||||||
highlightHigh = "56526e",
|
highlightHigh = "56526e",
|
||||||
dark = true,
|
dark = true,
|
||||||
|
|
||||||
|
vis_theme = "rose-pine-moon-colorless",
|
||||||
}
|
}
|
||||||
return require('utils/rose-pine-convert')(theme)
|
return require('utils/rose-pine-convert')(theme)
|
||||||
|
|
Loading…
Reference in a new issue