From edf5479584af371241c03ec204d883b25b38c653 Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Wed, 15 Jun 2022 21:47:42 +0200 Subject: [PATCH] Add Japanese input method --- apps/fcitx5/config/fcitx5/conf/classicui.conf | 2 + apps/fcitx5/config/fcitx5/conf/keyboard.conf | 23 ++++ .../config/fcitx5/conf/notifications.conf | 3 + apps/fcitx5/config/fcitx5/config | 63 +++++++++++ apps/fcitx5/config/fcitx5/profile | 23 ++++ .../share/fcitx5/themes/Nord-Dark/arrow.png | Bin 0 -> 337 bytes .../share/fcitx5/themes/Nord-Dark/radio.png | Bin 0 -> 272 bytes .../share/fcitx5/themes/Nord-Dark/theme.conf | 98 ++++++++++++++++++ apps/packages.txt | 7 ++ apps/sxhkd/config/sxhkd/sxhkdrc | 6 -- cli/profile/config/profile | 6 ++ dwm/dwm | 2 +- dwm/dwmblocks/blocks.h | 6 +- dwm/dwmblocks/status-bar/language.sh | 13 +++ dwm/dwmstartup/startdwm | 6 +- 15 files changed, 243 insertions(+), 15 deletions(-) create mode 100644 apps/fcitx5/config/fcitx5/conf/classicui.conf create mode 100644 apps/fcitx5/config/fcitx5/conf/keyboard.conf create mode 100644 apps/fcitx5/config/fcitx5/conf/notifications.conf create mode 100644 apps/fcitx5/config/fcitx5/config create mode 100644 apps/fcitx5/config/fcitx5/profile create mode 100644 apps/fcitx5/local/share/fcitx5/themes/Nord-Dark/arrow.png create mode 100644 apps/fcitx5/local/share/fcitx5/themes/Nord-Dark/radio.png create mode 100644 apps/fcitx5/local/share/fcitx5/themes/Nord-Dark/theme.conf create mode 100755 dwm/dwmblocks/status-bar/language.sh diff --git a/apps/fcitx5/config/fcitx5/conf/classicui.conf b/apps/fcitx5/config/fcitx5/conf/classicui.conf new file mode 100644 index 0000000..c7be39d --- /dev/null +++ b/apps/fcitx5/config/fcitx5/conf/classicui.conf @@ -0,0 +1,2 @@ +Theme=Nord-Dark + diff --git a/apps/fcitx5/config/fcitx5/conf/keyboard.conf b/apps/fcitx5/config/fcitx5/conf/keyboard.conf new file mode 100644 index 0000000..280d064 --- /dev/null +++ b/apps/fcitx5/config/fcitx5/conf/keyboard.conf @@ -0,0 +1,23 @@ +# Page size +PageSize=5 +# Enable emoji in hint +EnableEmoji=True +# Enable emoji in quickphrase +EnableQuickPhraseEmoji=True +# Choose key modifier +Choose Modifier=Alt +# Enable hint by default +EnableHintByDefault=False +# Use new compose behavior +UseNewComposeBehavior=True +# Type special characters with long press +EnableLongPress=False +# Applications disabled for long press +LongPressBlocklist= + +[PrevCandidate] +0=Shift+Tab + +[NextCandidate] +0=Tab + diff --git a/apps/fcitx5/config/fcitx5/conf/notifications.conf b/apps/fcitx5/config/fcitx5/conf/notifications.conf new file mode 100644 index 0000000..6e7d1b9 --- /dev/null +++ b/apps/fcitx5/config/fcitx5/conf/notifications.conf @@ -0,0 +1,3 @@ +# Hidden Notifications +HiddenNotifications= + diff --git a/apps/fcitx5/config/fcitx5/config b/apps/fcitx5/config/fcitx5/config new file mode 100644 index 0000000..c773b5b --- /dev/null +++ b/apps/fcitx5/config/fcitx5/config @@ -0,0 +1,63 @@ +[Hotkey] +# Enumerate when press trigger key repeatedly +EnumerateWithTriggerKeys=True +# Temporally switch between first and current Input Method +AltTriggerKeys= +# Enumerate Input Method Forward +EnumerateForwardKeys= +# Enumerate Input Method Backward +EnumerateBackwardKeys= +# Skip first input method while enumerating +EnumerateSkipFirst=False +# Enumerate Input Method Group Forward +EnumerateGroupForwardKeys= +# Enumerate Input Method Group Backward +EnumerateGroupBackwardKeys= +# Activate Input Method +ActivateKeys= +# Deactivate Input Method +DeactivateKeys= +# Default Previous page +PrevPage= +# Default Next page +NextPage= +# Toggle embedded preedit +TogglePreedit= + +[Hotkey/TriggerKeys] +0=Hangul + +[Hotkey/PrevCandidate] +0=Shift+Tab + +[Hotkey/NextCandidate] +0=Tab + +[Behavior] +# Active By Default +ActiveByDefault=False +# Share Input State +ShareInputState=All +# Show preedit in application +PreeditEnabledByDefault=True +# Show Input Method Information when switch input method +ShowInputMethodInformation=True +# Show Input Method Information when changing focus +showInputMethodInformationWhenFocusIn=False +# Show compact input method information +CompactInputMethodInformation=True +# Show first input method information +ShowFirstInputMethodInformation=True +# Default page size +DefaultPageSize=5 +# Override Xkb Option +OverrideXkbOption=False +# Custom Xkb Option +CustomXkbOption= +# Force Enabled Addons +EnabledAddons= +# Force Disabled Addons +DisabledAddons= +# Preload input method to be used by default +PreloadInputMethod=True + diff --git a/apps/fcitx5/config/fcitx5/profile b/apps/fcitx5/config/fcitx5/profile new file mode 100644 index 0000000..5dc8c41 --- /dev/null +++ b/apps/fcitx5/config/fcitx5/profile @@ -0,0 +1,23 @@ +[Groups/0] +# Group Name +Name=Default +# Layout +Default Layout=us +# Default Input Method +DefaultIM=mozc + +[Groups/0/Items/0] +# Name +Name=keyboard-us +# Layout +Layout= + +[Groups/0/Items/1] +# Name +Name=mozc +# Layout +Layout= + +[GroupOrder] +0=Default + diff --git a/apps/fcitx5/local/share/fcitx5/themes/Nord-Dark/arrow.png b/apps/fcitx5/local/share/fcitx5/themes/Nord-Dark/arrow.png new file mode 100644 index 0000000000000000000000000000000000000000..85a5a97a983a08dacb5cc93957c356c6f21d4baf GIT binary patch literal 337 zcmeAS@N?(olHy`uVBq!ia0vp^AhrMp8<5nmf9C+CSc;uILpXq-h9ji|$mcBZh%9Dc z;5!1sj8nDwq=ABxC9V-A!TD(=<%vb94CUqJdYO6I#mR{Use1WE>9gP2NC6d{^K@|x z(U>^(;>Ii{M*+46^?l5%O@4Vy+vpweiG|V9AUEXF^6Mf8!%s**>CG#9{va)I(VZJ} z9!|N-{Qp;S*}upcl7*t%-n?e2)pRY_$=?CA4AK+wY%y{e~esblyRp~la zIqK5YweJsK&Xx(Q{V~(^|G$kbrMu?v3yaytY?%CkkzvY#ewS~|2@DJdHEAa=&K0<5 zx9xdw`T5hAzfbR+lP>9ex7pn9i|(a>_`HBG+{FUN7>XF!HYb_X{OAfZ-+bohuia}7 eWs7XFWKOlaYBBwD@>QVE7(8A5T-G@yGywpry@h4~ literal 0 HcmV?d00001 diff --git a/apps/fcitx5/local/share/fcitx5/themes/Nord-Dark/radio.png b/apps/fcitx5/local/share/fcitx5/themes/Nord-Dark/radio.png new file mode 100644 index 0000000000000000000000000000000000000000..68b0ff2104fc86a05bbd4c097ac1cfdcf5660f56 GIT binary patch literal 272 zcmeAS@N?(olHy`uVBq!ia0vp^5+KaM1|%Pp+x`GjoCO|{#X$M%Ak65bF}ngNC|Tkf zQ4*Y=R#Ki=l*&+EUaps!mtCBkSdglhUz9%kosASw(Ogd##}JRsw-XO?H5&-Hq)T0p z*V>!rneS!4UH5IGqWeMlppM(!m*iSFs