farout.nvim/lua/tokyonight/extra/init.lua

32 lines
1017 B
Lua
Raw Normal View History

2021-04-20 12:24:44 +00:00
package.path = "./lua/?/init.lua;./lua/?.lua"
local config = require("tokyonight.config")
local kitty = require("tokyonight.extra.kitty")
local fish = require("tokyonight.extra.fish")
2021-04-20 12:47:35 +00:00
local alacritty = require("tokyonight.extra.alacritty")
2021-04-20 12:24:44 +00:00
local function write(str, fileName)
print("[write] extra/" .. fileName)
local file = io.open("extras/" .. fileName, "w")
file:write(str)
file:close()
end
config.style = "storm"
write(kitty.kitty(config), "kitty_tokyonight_storm.conf")
write(fish.fish(config), "fish_tokyonight_storm.fish")
2021-04-20 12:47:35 +00:00
write(alacritty.alacritty(config), "alacritty_tokyonight_storm.yml")
2021-04-20 12:24:44 +00:00
config.style = "night"
write(kitty.kitty(config), "kitty_tokyonight_night.conf")
write(fish.fish(config), "fish_tokyonight_night.fish")
2021-04-20 12:47:35 +00:00
write(alacritty.alacritty(config), "alacritty_tokyonight_night.yml")
2021-05-02 08:43:18 +00:00
config.style = "day"
write(kitty.kitty(config), "kitty_tokyonight_day.conf")
write(fish.fish(config), "fish_tokyonight_day.fish")
write(alacritty.alacritty(config), "alacritty_tokyonight_day.yml")