From bd55de15d5f607b2fb75a350086847b69a1ab246 Mon Sep 17 00:00:00 2001 From: vincent Date: Tue, 6 Oct 2020 18:53:56 +0200 Subject: [PATCH] add pop-shell.install --- pop-shell.install | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 pop-shell.install diff --git a/pop-shell.install b/pop-shell.install new file mode 100644 index 0000000..b41c099 --- /dev/null +++ b/pop-shell.install @@ -0,0 +1,32 @@ + +post_install() { + echo "POP-shell configuration" + cd /usr/share/gnome-shell/extensions/pop-shell@system76.com/scripts + ./configure.sh + touch toto +} + +post_upgrade() { + post_install +} + +post_remove() { + left="h" + down="j" + up="k" + right="l" + 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 + KEYS_MUTTER_WAYLAND_RESTORE=/org/gnome/mutter/wayland/keybindings/restore-shortcuts + # Restore keyboard shortcuts to default + dconf reset /org/gnome/mutter/wayland/keybindings/restore-shortcuts + dconf reset ${KEYS_GNOME_WM}/minimize + dconf reset ${KEYS_GNOME_SHELL}/{open-application-menu,toggle-message-tray} + dconf reset ${KEYS_GNOME_WM}/{switch-to-workspace-{left,right},move-to-monitor-{up,down,left,right},move-to-workspace-{up,down,left,right}} + dconf reset ${KEYS_MUTTER}/toggle-tiled-{left,right} + dconf reset ${KEYS_GNOME_WM}/toggle-maximized + dconf reset ${KEYS_MEDIA}/{screensaver,home,email,www,rotate-video-lock-static} + dconf reset ${KEYS_GNOME_WM}/close +}