mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Add migration for new hotkeys
This commit is contained in:
20
migrations/1760462260.sh
Normal file
20
migrations/1760462260.sh
Normal file
@@ -0,0 +1,20 @@
|
||||
echo -e "Offer new Omarchy hotkeys\n"
|
||||
|
||||
cat <<EOF
|
||||
* Add SUPER + C / V for unified clipboard in both terminal and other apps
|
||||
* Add SUPER + SHIFT + V for clipboard manager
|
||||
* Move fullscreen from F11 to SUPER + F
|
||||
* Move app keys from SUPER + [LETTER] to SHIFT + SUPER + [LETTER]
|
||||
* Move toggling tiling/floating to SUPER + T
|
||||
EOF
|
||||
|
||||
echo
|
||||
|
||||
if gum confirm "Switch to new hotkeys?"; then
|
||||
sed -i 's/SUPER,/SUPER SHIFT,/g' ~/.config/hypr/bindings.conf
|
||||
sed -i 's/SUPER ALT,/SUPER SHIFT ALT,/g' ~/.config/hypr/bindings.conf
|
||||
sed -i 's/SUPER CTRL,/SUPER SHIFT CTRL,/g' ~/.config/hypr/bindings.conf
|
||||
|
||||
sed -i 's|source = ~/.local/share/omarchy/default/hypr/bindings/tiling\.conf|source = ~/.local/share/omarchy/default/hypr/bindings/clipboard.conf\
|
||||
source = ~/.local/share/omarchy/default/hypr/bindings/tiling-v2.conf|' ~/.config/hypr/hyprland.conf
|
||||
fi
|
||||
Reference in New Issue
Block a user