diff --git a/config/elephant/symbols.toml b/config/elephant/symbols.toml index 3144c152..fc7926ff 100644 --- a/config/elephant/symbols.toml +++ b/config/elephant/symbols.toml @@ -1 +1 @@ -command = 'wl-copy && hyprctl dispatch sendshortcut "SHIFT, Insert,"' +command = 'wl-copy && hyprctl dispatch sendshortcut "SHIFT,Insert,activewindow"' diff --git a/default/hypr/bindings/clipboard.conf b/default/hypr/bindings/clipboard.conf index ffaede7a..214d2586 100644 --- a/default/hypr/bindings/clipboard.conf +++ b/default/hypr/bindings/clipboard.conf @@ -1,5 +1,5 @@ # Copy / Paste -bindd = SUPER, C, Universal copy, sendshortcut, CTRL, Insert, -bindd = SUPER, V, Universal paste, sendshortcut, SHIFT, Insert, -bindd = SUPER, X, Universal cut, sendshortcut, CTRL, X, +bindd = SUPER, C, Universal copy, sendshortcut, CTRL, Insert, activewindow +bindd = SUPER, V, Universal paste, sendshortcut, SHIFT, Insert, activewindow +bindd = SUPER, X, Universal cut, sendshortcut, CTRL, X, activewindow bindd = SUPER CTRL, V, Clipboard manager, exec, omarchy-launch-walker -m clipboard diff --git a/migrations/1779516254.sh b/migrations/1779516254.sh new file mode 100644 index 00000000..3fef7150 --- /dev/null +++ b/migrations/1779516254.sh @@ -0,0 +1,11 @@ +echo "Update elephant symbols paste shortcut for Hyprland 0.55" + +symbols_config=~/.config/elephant/symbols.toml + +if [[ -f $symbols_config ]]; then + sed -i 's/hyprctl dispatch sendshortcut "SHIFT, Insert,"/hyprctl dispatch sendshortcut "SHIFT,Insert,activewindow"/' "$symbols_config" +else + omarchy-refresh-config elephant/symbols.toml +fi + +omarchy-restart-walker