This commit is contained in:
Cat /dev/Nulo 2022-04-18 21:27:05 +00:00
parent c56fadceb1
commit 35fee185e7
4 changed files with 13 additions and 0 deletions

8
modules/vis.lua Normal file
View 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 })

View file

@ -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'

View file

@ -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)

View file

@ -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)