diff --git a/extras/xfceterm_tokyonight_day.theme b/extras/xfceterm_tokyonight_day.theme new file mode 100644 index 0000000..2c995e9 --- /dev/null +++ b/extras/xfceterm_tokyonight_day.theme @@ -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 diff --git a/extras/xfceterm_tokyonight_night.theme b/extras/xfceterm_tokyonight_night.theme new file mode 100644 index 0000000..2c995e9 --- /dev/null +++ b/extras/xfceterm_tokyonight_night.theme @@ -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 diff --git a/extras/xfceterm_tokyonight_storm.theme b/extras/xfceterm_tokyonight_storm.theme new file mode 100644 index 0000000..3b46f93 --- /dev/null +++ b/extras/xfceterm_tokyonight_storm.theme @@ -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 diff --git a/lua/tokyonight/extra/init.lua b/lua/tokyonight/extra/init.lua index 102ea15..d1a44f3 100644 --- a/lua/tokyonight/extra/init.lua +++ b/lua/tokyonight/extra/init.lua @@ -17,6 +17,7 @@ local extras = { wezterm = "toml", tmux = "tmux", xresources = "Xresources", + xfceterm = "theme", } local styles = { "storm", "night", "day" } diff --git a/lua/tokyonight/extra/xfceterm.lua b/lua/tokyonight/extra/xfceterm.lua new file mode 100644 index 0000000..cdfad8f --- /dev/null +++ b/lua/tokyonight/extra/xfceterm.lua @@ -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