Adds the apply_generic_app_hotkey_bindings migration

This commit is contained in:
Meliq Pilosyan
2024-07-30 03:35:04 +04:00
parent 21e1b3f5e6
commit da9c4b0b22

15
migrations/1722293148.sh Normal file
View File

@@ -0,0 +1,15 @@
echo "Running upgrade migration..."
# Reset specific key bindings for launching new Alacrity and Chrome instances.
# This functionality is now handled by the generic <Shift><Alt>NUMBER combination,
# where the NUMBER is the position of the pinned application on the dock.
gsettings reset-recursively org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom2/
gsettings reset-recursively org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom3/
# Change dock icon click action and app-hotkey bindings behavior to launch
# or focus (if minimized) or minimize (if active)
# or show previews (if minimized and there are multiple running instances of the application).
gsettings set org.gnome.shell.extensions.dash-to-dock click-action 'focus-minimize-or-previews'
# Apply generic app-hotkey bindings.
source "$OMAKUB_PATH/install/desktop/set-gnome-hotkeys.sh"