diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2026-06-08 23:48:39 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2026-06-08 23:48:39 +0800 |
| commit | 09826be02aeb2e5ddecafde1c12baf80fa91ba8b (patch) | |
| tree | 4b69927a60d824f36b56415827189b5e636fa8a8 | |
| parent | adcc2d6b127d9ef2eb78a08f80a5cb64d9492477 (diff) | |
fcitx5: use wallust
| -rw-r--r-- | dot-config/fcitx5/conf/classicui.conf | 4 | ||||
| -rw-r--r-- | dot-config/wallust/templates/fcitx5.conf | 56 | ||||
| -rw-r--r-- | dot-config/wallust/templates/fcitx5highlight.svg | 4 | ||||
| -rw-r--r-- | dot-config/wallust/templates/fcitx5panel.svg | 19 | ||||
| -rw-r--r-- | dot-config/wallust/templates/pywal | 32 | ||||
| -rw-r--r-- | dot-config/wallust/wallust.toml | 11 |
6 files changed, 108 insertions, 18 deletions
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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<svg width="48" height="48" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> + <path fill="{{foreground}}" fill-opacity="0.15" stroke="none" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" d="m 16.299999,4 h 15.4 C 41.967687,4 44,5.9625437 44,16.299999 v 15.4 C 44,41.932804 42.072338,44 31.699999,44 h -15.4 C 6.0671949,44 4,41.932804 4,31.699999 v -15.4 C 4,6.0671948 6.0403037,4 16.299999,4 Z"/> +</svg> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<svg width="48" height="48" opacity="0.42" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> + <defs> + <filter id="filter5" x="-0.22165625" y="-0.22165625" width="1.4433125" height="1.4433125" color-interpolation-filters="sRGB"> + <feFlood result="flood" in="SourceGraphic" flood-opacity="1" flood-color="rgb(0,0,0)" /> + <feGaussianBlur result="blur" in="SourceGraphic" stdDeviation="2" /> + <feOffset result="offset" in="blur" dx="0" dy="0" /> + <feComposite result="comp1" operator="in" in="flood" in2="offset" /> + <feComposite result="fbSourceGraphic" operator="over" in="SourceGraphic" in2="comp1" /> + <feColorMatrix result="fbSourceGraphicAlpha" in="fbSourceGraphic" values="0 0 0 -1 0 0 0 0 -1 0 0 0 0 -1 0 0 0 0 1 0" /> + <feFlood result="flood2" in="fbSourceGraphic" flood-opacity="1" flood-color="rgb(0,0,0)" /> + <feGaussianBlur result="blur2" in="fbSourceGraphic" stdDeviation="1.5" /> + <feOffset result="offset2" in="blur2" dx="0" dy="0" /> + <feComposite result="comp2" operator="in" in="flood2" in2="offset2" /> + <feComposite result="comp3" operator="over" in="fbSourceGraphic" in2="comp2" /> + </filter> + </defs> + <path fill="{{background}}" stroke="{{foreground}}" stroke-width="0.5" stroke-linecap="round" stroke-linejoin="round" filter="url(#filter5)" d="m 16.487805,4.4878049 h 15.024391 c 8.461953,0 12,3.3636279 12,12.0000001 v 15.024391 c 0,8.392186 -3.398512,12 -12,12 H 16.487805 c -8.3921861,0 -12.0000001,-3.538047 -12.0000001,-12 V 16.487805 c 0,-8.6363722 3.4682791,-12.0000001 12.0000001,-12.0000001 z" /> +</svg> 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" |
