diff --git a/arch.sh b/arch.sh index 2f67f81..6e48569 100644 --- a/arch.sh +++ b/arch.sh @@ -249,13 +249,28 @@ then sudo systemctl enable touchegg.service sudo systemctl start touchegg + # Tray icons + yay -S gnome-shell-extension-tray-icons-reloaded --noconfirm + gnome-extensions enable trayIconsReloaded@selfmade.pl + # === Remove extra packages == sudo pacman -Rsn epiphany gnome-maps cheese gnome-weather gnome-music gnome-books vim gnome-boxes gnome-photos --noconfirm # gnome-firefox, maps, caméra, météo, musique, liseuse, vim, machines, photos # === Clipboard history == - yay -S gnome-shell-extension-tray-icons-reloaded --noconfirm - gnome-extensions enable trayIconsReloaded@selfmade.pl + # Keybinding + gsettings set org.gnome.shell.keybindings toggle-message-tray ['m'] + CUSTOM_KEYBINDINGS_LIST=$(gsettings get org.gnome.settings-daemon.plugins.media-keys custom-keybindings) + if [[ $CUSTOM_KEYBINDINGS_LIST == "@as []" ]] # creating new list if not exists + then + CUSTOM_KEYBINDINGS_LIST="['/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/clipboard-shortcut/']" + else # if already existing, adding our new element + CUSTOM_KEYBINDINGS_LIST="${CUSTOM_KEYBINDINGS_LIST::-1}, '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/clipboard-shortcut/']" + fi + gsettings set org.gnome.settings-daemon.plugins.media-keys custom-keybindings "$CUSTOM_KEYBINDINGS_LIST" # updating the list + gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/clipboard-shortcut/ name "Copyq" # set name + gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/clipboard-shortcut/ command "copyq show" # set command + gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/clipboard-shortcut/ binding "V" # set shortcut copyq > /dev/null & disown copyq config autostart true