Add korean keyboard with fcitx5
This commit is contained in:
parent
feafe252dc
commit
0f64cf7137
9 changed files with 3982 additions and 0 deletions
|
|
@ -71,6 +71,7 @@ ln -s ~/Projects/hypr-dotfiles/tofi tofi
|
|||
ln -s ~/Projects/hypr-dotfiles/wlogout wlogout
|
||||
ln -s ~/Projects/hypr-dotfiles/kitty kitty
|
||||
ln -s ~/Projects/hypr-dotfiles/helix helix
|
||||
ln -s ~/Projects/hypr-dotfiles/fcitx5 fcitx5
|
||||
```
|
||||
|
||||
To enable the auto-mute/unmute timers (mutes at 21:00, unmutes at
|
||||
|
|
@ -101,6 +102,8 @@ You also need to install all the dependencies:
|
|||
- JetBrainsMono Font
|
||||
- xdg-desktop-portal-hyprland
|
||||
- xdg-desktop-portal-gtk
|
||||
- fcitx5
|
||||
- fcitx5-hangul
|
||||
|
||||
There are probably more, I will update the list next time I'm
|
||||
installing it on a new computer.
|
||||
|
|
|
|||
3745
fcitx5/conf/cached_layouts
Normal file
3745
fcitx5/conf/cached_layouts
Normal file
File diff suppressed because it is too large
Load diff
82
fcitx5/conf/fcitx5.conf
Normal file
82
fcitx5/conf/fcitx5.conf
Normal file
|
|
@ -0,0 +1,82 @@
|
|||
[Hotkey]
|
||||
# Enumerate when press trigger key repeatedly
|
||||
EnumerateWithTriggerKeys=True
|
||||
# Enumerate Input Method Forward
|
||||
EnumerateForwardKeys=
|
||||
# Enumerate Input Method Backward
|
||||
EnumerateBackwardKeys=
|
||||
# Skip first input method while enumerating
|
||||
EnumerateSkipFirst=False
|
||||
# Time limit in milliseconds for triggering modifier key shortcuts
|
||||
ModifierOnlyKeyTimeout=250
|
||||
|
||||
[Hotkey/TriggerKeys]
|
||||
0=Control+space
|
||||
1=Zenkaku_Hankaku
|
||||
2=Hangul
|
||||
|
||||
[Hotkey/AltTriggerKeys]
|
||||
0=Shift_L
|
||||
|
||||
[Hotkey/EnumerateGroupForwardKeys]
|
||||
0=Super+space
|
||||
|
||||
[Hotkey/EnumerateGroupBackwardKeys]
|
||||
0=Shift+Super+space
|
||||
|
||||
[Hotkey/ActivateKeys]
|
||||
0=Hangul_Hanja
|
||||
|
||||
[Hotkey/DeactivateKeys]
|
||||
0=Hangul_Romaja
|
||||
|
||||
[Hotkey/PrevPage]
|
||||
0=Up
|
||||
|
||||
[Hotkey/NextPage]
|
||||
0=Down
|
||||
|
||||
[Hotkey/PrevCandidate]
|
||||
0=Shift+Tab
|
||||
|
||||
[Hotkey/NextCandidate]
|
||||
0=Tab
|
||||
|
||||
[Hotkey/TogglePreedit]
|
||||
0=Control+Alt+P
|
||||
|
||||
[Behavior]
|
||||
# Active By Default
|
||||
ActiveByDefault=False
|
||||
# Reset state on Focus In
|
||||
resetStateWhenFocusIn=No
|
||||
# Share Input State
|
||||
ShareInputState=No
|
||||
# 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
|
||||
# Allow input method in the password field
|
||||
AllowInputMethodForPassword=False
|
||||
# Show preedit text when typing password
|
||||
ShowPreeditForPassword=False
|
||||
# Interval of saving user data in minutes
|
||||
AutoSavePeriod=30
|
||||
29
fcitx5/conf/hangul.conf
Normal file
29
fcitx5/conf/hangul.conf
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
# Keyboard Layout
|
||||
Keyboard=Dubeolsik
|
||||
# Auto Reorder
|
||||
AutoReorder=True
|
||||
# Combine on Double Stroke
|
||||
CombiOnDoubleStroke=False
|
||||
# Combine Non Choseong
|
||||
NonChoseongCombi=True
|
||||
# Word Commit
|
||||
WordCommit=False
|
||||
# Hanja Mode
|
||||
HanjaMode=True
|
||||
|
||||
[HanjaModeToggleKey]
|
||||
0=Hangul_Hanja
|
||||
1=F9
|
||||
|
||||
[PrevPage]
|
||||
0=Up
|
||||
|
||||
[NextPage]
|
||||
0=Down
|
||||
|
||||
[PrevCandidate]
|
||||
0=Shift+Tab
|
||||
|
||||
[NextCandidate]
|
||||
0=Tab
|
||||
|
||||
3
fcitx5/conf/notifications.conf
Normal file
3
fcitx5/conf/notifications.conf
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# Hidden Notifications
|
||||
HiddenNotifications=
|
||||
|
||||
83
fcitx5/config
Normal file
83
fcitx5/config
Normal file
|
|
@ -0,0 +1,83 @@
|
|||
[Hotkey]
|
||||
# Enumerate when holding modifier of Toggle key
|
||||
EnumerateWithTriggerKeys=True
|
||||
# Enumerate Input Method Forward
|
||||
EnumerateForwardKeys=
|
||||
# Enumerate Input Method Backward
|
||||
EnumerateBackwardKeys=
|
||||
# Skip first input method while enumerating
|
||||
EnumerateSkipFirst=False
|
||||
# Time limit in milliseconds for triggering modifier key shortcuts
|
||||
ModifierOnlyKeyTimeout=250
|
||||
|
||||
[Hotkey/TriggerKeys]
|
||||
0=Control+space
|
||||
1=Zenkaku_Hankaku
|
||||
2=Hangul
|
||||
|
||||
[Hotkey/ActivateKeys]
|
||||
0=Hangul_Hanja
|
||||
|
||||
[Hotkey/DeactivateKeys]
|
||||
0=Hangul_Romaja
|
||||
|
||||
[Hotkey/AltTriggerKeys]
|
||||
0=Shift_L
|
||||
|
||||
[Hotkey/EnumerateGroupForwardKeys]
|
||||
0=Super+space
|
||||
|
||||
[Hotkey/EnumerateGroupBackwardKeys]
|
||||
0=Shift+Super+space
|
||||
|
||||
[Hotkey/PrevPage]
|
||||
0=Up
|
||||
|
||||
[Hotkey/NextPage]
|
||||
0=Down
|
||||
|
||||
[Hotkey/PrevCandidate]
|
||||
0=Shift+Tab
|
||||
|
||||
[Hotkey/NextCandidate]
|
||||
0=Tab
|
||||
|
||||
[Hotkey/TogglePreedit]
|
||||
0=Control+Alt+P
|
||||
|
||||
[Behavior]
|
||||
# Active By Default
|
||||
ActiveByDefault=False
|
||||
# Reset state on Focus In
|
||||
resetStateWhenFocusIn=No
|
||||
# Share Input State
|
||||
ShareInputState=No
|
||||
# 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
|
||||
# Allow input method in the password field
|
||||
AllowInputMethodForPassword=False
|
||||
# Show preedit text when typing password
|
||||
ShowPreeditForPassword=False
|
||||
# Interval of saving user data in minutes
|
||||
AutoSavePeriod=30
|
||||
|
||||
35
fcitx5/profile
Normal file
35
fcitx5/profile
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
[Groups/0]
|
||||
# Group Name
|
||||
Name=Default
|
||||
# Layout
|
||||
Default Layout=us-dvorak
|
||||
# Default Input Method
|
||||
DefaultIM=keyboard-us
|
||||
|
||||
[Groups/0/Items/0]
|
||||
# Name
|
||||
Name=keyboard-us-dvorak
|
||||
# Layout
|
||||
Layout=
|
||||
|
||||
[Groups/0/Items/1]
|
||||
# Name
|
||||
Name=hangul
|
||||
# Layout
|
||||
Layout=us
|
||||
|
||||
[Groups/0/Items/2]
|
||||
# Name
|
||||
Name=keyboard-se-svdvorak
|
||||
# Layout
|
||||
Layout=
|
||||
|
||||
[Groups/0/Items/3]
|
||||
# Name
|
||||
Name=keyboard-us
|
||||
# Layout
|
||||
Layout=
|
||||
|
||||
[GroupOrder]
|
||||
0=Default
|
||||
|
||||
|
|
@ -1,3 +1,4 @@
|
|||
exec-once = fcitx5
|
||||
exec-once = [workspace 1 silent] $browser
|
||||
exec-once = [workspace 2 silent] thunderbird
|
||||
exec-once = [workspace 2 silent] element-desktop
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/bash
|
||||
hyprctl switchxkblayout all 0
|
||||
fcitx5-remote -s keyboard-us-dvorak
|
||||
wpctl set-mute @DEFAULT_AUDIO_SINK@ 1
|
||||
hyprlock && wpctl set-mute @DEFAULT_AUDIO_SINK@ 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue