mirror of
https://github.com/LukeHagar/omarchy.git
synced 2025-12-07 20:47:49 +00:00
Add migration for misc. items since 3.1.0-RC
This commit is contained in:
26
migrations/1760724934.sh
Normal file
26
migrations/1760724934.sh
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
# Handles changes since 3.1.0-RC
|
||||||
|
|
||||||
|
echo "Add shift+insert for kitty"
|
||||||
|
# Add shift+insert paste keybinding to kitty.conf if it doesn't exist
|
||||||
|
KITTY_CONF="$HOME/.config/kitty/kitty.conf"
|
||||||
|
|
||||||
|
if ! grep -q "map shift+insert paste_from_clipboard" "$KITTY_CONF"; then
|
||||||
|
sed -i '/map ctrl+insert copy_to_clipboard/a map shift+insert paste_from_clipboard' "$KITTY_CONF"
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "Update Walker configs"
|
||||||
|
omarchy-refresh-walker
|
||||||
|
|
||||||
|
echo "Copy hooks examples"
|
||||||
|
cp -r $OMARCHY_PATH/config/omarchy/* $HOME/.config/omarchy/
|
||||||
|
|
||||||
|
echo "Add packages for updated omarchy-cmd-screenshot"
|
||||||
|
omarchy-pkg-add grim slurp wayfreeze-git
|
||||||
|
|
||||||
|
echo "Add nfs support by default to Nautilus"
|
||||||
|
omarchy-pkg-add gvfs-nfs
|
||||||
|
|
||||||
|
if [ ! -d "$HOME/.config/nvim" ]; then
|
||||||
|
echo "Add missing nvim config"
|
||||||
|
omarchy-nvim-setup
|
||||||
|
fi
|
||||||
Reference in New Issue
Block a user