From 09826be02aeb2e5ddecafde1c12baf80fa91ba8b Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Mon, 8 Jun 2026 23:48:39 +0800 Subject: fcitx5: use wallust --- dot-config/fcitx5/conf/classicui.conf | 4 +- dot-config/wallust/templates/fcitx5.conf | 56 ++++++++++++++++++++++++ dot-config/wallust/templates/fcitx5highlight.svg | 4 ++ dot-config/wallust/templates/fcitx5panel.svg | 19 ++++++++ dot-config/wallust/templates/pywal | 32 +++++++------- dot-config/wallust/wallust.toml | 11 +++++ 6 files changed, 108 insertions(+), 18 deletions(-) create mode 100644 dot-config/wallust/templates/fcitx5.conf create mode 100644 dot-config/wallust/templates/fcitx5highlight.svg create mode 100644 dot-config/wallust/templates/fcitx5panel.svg diff --git a/dot-config/fcitx5/conf/classicui.conf b/dot-config/fcitx5/conf/classicui.conf index bd933cc5..261af4d2 100644 --- a/dot-config/fcitx5/conf/classicui.conf +++ b/dot-config/fcitx5/conf/classicui.conf @@ -19,9 +19,9 @@ ShowLayoutNameInIcon=True # Use input method language to display text UseInputMethodLanguageToDisplayText=True # Theme -Theme=OriDark +Theme=wallust # Dark Theme -DarkTheme=OriDark +DarkTheme=wallust # Follow system light/dark color scheme UseDarkTheme=True # Follow system accent color if it is supported by theme and desktop diff --git a/dot-config/wallust/templates/fcitx5.conf b/dot-config/wallust/templates/fcitx5.conf new file mode 100644 index 00000000..2fc6e324 --- /dev/null +++ b/dot-config/wallust/templates/fcitx5.conf @@ -0,0 +1,56 @@ +[Metadata] +Name=Wallust +Version=0.1 +Author=Reverier +Description=A Fcitx5 theme generated by wallust. +ScaleWithDPI=False + +[InputPanel] +EnableBlur=False +NormalColor={{foreground}} +HighlightCandidateColor={{color15}} +HighlightColor={{color4}} +HighlightBackgroundColor=#00000000 +Spacing=0 + +[InputPanel/ShadowMargin] +Left=2 +Right=2 +Top=2 +Bottom=2 + +[InputPanel/BlurMargin] +Left=0 +Right=0 +Top=0 +Bottom=0 + +[InputPanel/ContentMargin] +Left=7 +Right=7 +Top=6 +Bottom=6 + +[InputPanel/TextMargin] +Left=12 +Right=12 +Top=6 +Bottom=6 + +[InputPanel/Background] +Image=panel.svg + +[InputPanel/Background/Margin] +Left=20 +Right=20 +Top=20 +Bottom=20 + +[InputPanel/Highlight] +Image=highlight.svg + +[InputPanel/Highlight/Margin] +Left=16 +Right=16 +Top=9 +Bottom=9 diff --git a/dot-config/wallust/templates/fcitx5highlight.svg b/dot-config/wallust/templates/fcitx5highlight.svg new file mode 100644 index 00000000..e263107f --- /dev/null +++ b/dot-config/wallust/templates/fcitx5highlight.svg @@ -0,0 +1,4 @@ + + + + diff --git a/dot-config/wallust/templates/fcitx5panel.svg b/dot-config/wallust/templates/fcitx5panel.svg new file mode 100644 index 00000000..1434db35 --- /dev/null +++ b/dot-config/wallust/templates/fcitx5panel.svg @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/dot-config/wallust/templates/pywal b/dot-config/wallust/templates/pywal index 228f4c89..8a3d9008 100644 --- a/dot-config/wallust/templates/pywal +++ b/dot-config/wallust/templates/pywal @@ -1,16 +1,16 @@ -{color0} -{color1} -{color2} -{color3} -{color4} -{color5} -{color6} -{color7} -{color8} -{color9} -{color10} -{color11} -{color12} -{color13} -{color14} -{color15} +{{color0}} +{{color1}} +{{color2}} +{{color3}} +{{color4}} +{{color5}} +{{color6}} +{{color7}} +{{color8}} +{{color9}} +{{color10}} +{{color11}} +{{color12}} +{{color13}} +{{color14}} +{{color15}} diff --git a/dot-config/wallust/wallust.toml b/dot-config/wallust/wallust.toml index e8e49bba..9a994a76 100644 --- a/dot-config/wallust/wallust.toml +++ b/dot-config/wallust/wallust.toml @@ -37,6 +37,8 @@ kvantum.target = "~/.config/Kvantum/KvArcDark#/KvArcDark#.kvconfig" pywal.template = "pywal.json" pywal.target = "~/.cache/wal/colors.json" +pywal_plain.template = "pywal" +pywal_plain.target = "~/.cache/wal/colors" # xdpl.template = "xdpl.conf" # xdpl.target = "~/.config/xdg-desktop-portal-luminous/config.toml" @@ -71,3 +73,12 @@ zed.target = "~/.config/zed/themes/wal.json" hyprtoolkit.template = "hyprtoolkit.conf" hyprtoolkit.target = "~/.config/hypr/hyprtoolkit.conf" + +fcitx5.template = "fcitx5.conf" +fcitx5.target = "~/.local/share/fcitx5/themes/wallust/theme.conf" + +fcitx5highlight.template = "fcitx5highlight.svg" +fcitx5highlight.target = "~/.local/share/fcitx5/themes/wallust/highlight.svg" + +fcitx5panel.template = "fcitx5panel.svg" +fcitx5panel.target = "~/.local/share/fcitx5/themes/wallust/panel.svg" -- cgit v1.2.3