Skip to content

Commit f423612

Browse files
dhhahartness
authored andcommitted
Add migration for new hotkeys
1 parent 71b84aa commit f423612

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

migrations/1760462260.sh

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
echo -e "Offer new Omarchy hotkeys\n"
2+
3+
cat <<EOF
4+
* Add SUPER + C / V for unified clipboard in both terminal and other apps
5+
* Add SUPER + SHIFT + V for clipboard manager
6+
* Move fullscreen from F11 to SUPER + F
7+
* Move app keys from SUPER + [LETTER] to SHIFT + SUPER + [LETTER]
8+
* Move toggling tiling/floating to SUPER + T
9+
EOF
10+
11+
echo
12+
13+
if gum confirm "Switch to new hotkeys?"; then
14+
sed -i 's/SUPER,/SUPER SHIFT,/g' ~/.config/hypr/bindings.conf
15+
sed -i 's/SUPER ALT,/SUPER SHIFT ALT,/g' ~/.config/hypr/bindings.conf
16+
sed -i 's/SUPER CTRL,/SUPER SHIFT CTRL,/g' ~/.config/hypr/bindings.conf
17+
18+
sed -i 's|source = ~/.local/share/omarchy/default/hypr/bindings/tiling\.conf|source = ~/.local/share/omarchy/default/hypr/bindings/clipboard.conf\
19+
source = ~/.local/share/omarchy/default/hypr/bindings/tiling-v2.conf|' ~/.config/hypr/hyprland.conf
20+
fi

0 commit comments

Comments
 (0)