mirror of
https://github.com/LukeHagar/omarchy.git
synced 2025-12-06 04:20:23 +00:00
Add migration to ensure Obsidian binding is using wayland-ime
This commit is contained in:
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
|
||||||
Reference in New Issue
Block a user