feat: add colorscheme generator and themes for xfce4 terminal (#81)
Co-authored-by: ian mcgaunn <ian@mcgaunn.com>
This commit is contained in:
parent
f7af47749a
commit
0b4fdc5d63
9
extras/xfceterm_tokyonight_day.theme
Normal file
9
extras/xfceterm_tokyonight_day.theme
Normal file
@ -0,0 +1,9 @@
|
||||
[Scheme]
|
||||
Name=TokyoNight Colors
|
||||
ColorBackground=#1a1b26
|
||||
ColorForeground=#c0caf5
|
||||
|
||||
ColorSelectionBackground=#33467C
|
||||
ColorSelection=#c0caf5
|
||||
|
||||
ColorPalette=#15161E;#f7768e;#9ece6a;#e0af68;#7aa2f7;#bb9af7;#7dcfff;#a9b1d6;#414868;#f7768e;#9ece6a;#e0af68;#7aa2f7;#bb9af7;#7dcfff;#c0caf5
|
9
extras/xfceterm_tokyonight_night.theme
Normal file
9
extras/xfceterm_tokyonight_night.theme
Normal file
@ -0,0 +1,9 @@
|
||||
[Scheme]
|
||||
Name=TokyoNight Colors
|
||||
ColorBackground=#1a1b26
|
||||
ColorForeground=#c0caf5
|
||||
|
||||
ColorSelectionBackground=#33467C
|
||||
ColorSelection=#c0caf5
|
||||
|
||||
ColorPalette=#15161E;#f7768e;#9ece6a;#e0af68;#7aa2f7;#bb9af7;#7dcfff;#a9b1d6;#414868;#f7768e;#9ece6a;#e0af68;#7aa2f7;#bb9af7;#7dcfff;#c0caf5
|
9
extras/xfceterm_tokyonight_storm.theme
Normal file
9
extras/xfceterm_tokyonight_storm.theme
Normal file
@ -0,0 +1,9 @@
|
||||
[Scheme]
|
||||
Name=TokyoNight Colors
|
||||
ColorBackground=#24283b
|
||||
ColorForeground=#c0caf5
|
||||
|
||||
ColorSelectionBackground=#364A82
|
||||
ColorSelection=#c0caf5
|
||||
|
||||
ColorPalette=#1D202F;#f7768e;#9ece6a;#e0af68;#7aa2f7;#bb9af7;#7dcfff;#a9b1d6;#414868;#f7768e;#9ece6a;#e0af68;#7aa2f7;#bb9af7;#7dcfff;#c0caf5
|
@ -17,6 +17,7 @@ local extras = {
|
||||
wezterm = "toml",
|
||||
tmux = "tmux",
|
||||
xresources = "Xresources",
|
||||
xfceterm = "theme",
|
||||
}
|
||||
local styles = { "storm", "night", "day" }
|
||||
|
||||
|
24
lua/tokyonight/extra/xfceterm.lua
Normal file
24
lua/tokyonight/extra/xfceterm.lua
Normal file
@ -0,0 +1,24 @@
|
||||
local util = require("tokyonight.util")
|
||||
|
||||
local M = {}
|
||||
|
||||
-- @param colors ColorScheme
|
||||
function M.generate(colors)
|
||||
local xfceterm = util.template(
|
||||
[[
|
||||
[Scheme]
|
||||
Name=TokyoNight Colors
|
||||
ColorBackground=${bg}
|
||||
ColorForeground=${fg}
|
||||
|
||||
ColorSelectionBackground=${bg_visual}
|
||||
ColorSelection=${fg}
|
||||
|
||||
ColorPalette=${black};${red};${green};${yellow};${blue};${magenta};${cyan};${fg_dark};${terminal_black};${red};${green};${yellow};${blue};${magenta};${cyan};${fg}
|
||||
]],
|
||||
colors
|
||||
)
|
||||
return xfceterm
|
||||
end
|
||||
|
||||
return M
|
Loading…
Reference in New Issue
Block a user