mirror of
https://github.com/basecamp/omarchy.git
synced 2026-01-09 05:10:54 +08:00
Add migration to ensure Obsidian binding is using wayland-ime
This commit is contained in:
parent
f9edbfe10c
commit
e228a987a8
7
migrations/1757877123.sh
Normal file
7
migrations/1757877123.sh
Normal file
@ -0,0 +1,7 @@
|
||||
echo "Obsidian should be using Wayland IME for better compatibility with fcitx5 and other languages"
|
||||
|
||||
if [[ -f ~/.config/hypr/bindings.conf ]]; then
|
||||
sed -i '/^bindd = SUPER, O, Obsidian, exec, uwsm app -- obsidian -disable-gpu/{
|
||||
/--enable-wayland-ime/! s/$/ --enable-wayland-ime/
|
||||
}' ~/.config/hypr/bindings.conf
|
||||
fi
|
||||
Loading…
x
Reference in New Issue
Block a user