gnome-shell-extension-pop-s.../pop-shell.install

46 lines
1.5 KiB
Plaintext
Raw Normal View History

2020-10-06 16:53:56 +00:00
post_install() {
echo "POP-shell configuration"
cd $(mktemp -d)
touch .confirm_shortcut_change
/usr/share/gnome-shell/extensions/pop-shell@system76.com/scripts/configure.sh
2020-10-06 16:53:56 +00:00
}
post_upgrade() {
post_install
}
post_remove() {
2020-10-14 16:47:52 +00:00
KEYS_GNOME_WM=/org/gnome/desktop/wm/keybindings
KEYS_GNOME_SHELL=/org/gnome/shell/keybindings
KEYS_MUTTER=/org/gnome/mutter/keybindings
KEYS_MEDIA=/org/gnome/settings-daemon/plugins/media-keys
2020-10-06 16:53:56 +00:00
left="h"
down="j"
up="k"
right="l"
2020-10-14 16:47:52 +00:00
2020-10-06 16:53:56 +00:00
dconf reset ${KEYS_GNOME_WM}/minimize
2020-10-14 16:47:52 +00:00
dconf reset ${KEYS_GNOME_SHELL}/open-application-menu
dconf reset ${KEYS_GNOME_SHELL}/toggle-message-tray
dconf reset ${KEYS_GNOME_WM}/switch-to-workspace-left
dconf reset ${KEYS_GNOME_WM}/switch-to-workspace-right
dconf reset ${KEYS_GNOME_WM}/move-to-monitor-up
dconf reset ${KEYS_GNOME_WM}/move-to-monitor-down
dconf reset ${KEYS_GNOME_WM}/move-to-monitor-left
dconf reset ${KEYS_GNOME_WM}/move-to-monitor-right
dconf reset ${KEYS_GNOME_WM}/move-to-workspace-up
dconf reset ${KEYS_GNOME_WM}/move-to-workspace-down
dconf reset ${KEYS_GNOME_WM}/move-to-workspace-left
dconf reset ${KEYS_GNOME_WM}/move-to-workspace-right
dconf reset ${KEYS_MUTTER}/toggle-tiled-left
dconf reset ${KEYS_MUTTER}/toggle-tiled-right
2020-10-06 16:53:56 +00:00
dconf reset ${KEYS_GNOME_WM}/toggle-maximized
2020-10-14 16:47:52 +00:00
dconf reset ${KEYS_MEDIA}/screensaver
dconf reset ${KEYS_MEDIA}/home
dconf reset ${KEYS_MEDIA}/email
dconf reset ${KEYS_MEDIA}/www
dconf reset ${KEYS_MEDIA}/rotate-video-lock-static
2020-10-06 16:53:56 +00:00
dconf reset ${KEYS_GNOME_WM}/close
2020-10-06 17:19:31 +00:00
}