From 71267502f471a92d1f766720f47454baf36e5e7c Mon Sep 17 00:00:00 2001 From: Mylloon Date: Wed, 16 Feb 2022 20:46:41 +0100 Subject: [PATCH] fix git lfs, add ssh config, fish keybings emoji --- installation.sh | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/installation.sh b/installation.sh index 20919bf..baf8437 100644 --- a/installation.sh +++ b/installation.sh @@ -14,8 +14,8 @@ fish -c "set -U fish_greeting" curl -sL https://git.io/fisher | fish -c 'source && fisher install jorgebucaran/fisher' fish -c 'fisher install jethrokuan/fzf' # SSH need2check if really needed -# rm "$HOME"/.config/fish/functions/fish_ssh_agent.fish 2>/dev/null -# wget https://gitlab.com/kyb/fish_ssh_agent/raw/master/functions/fish_ssh_agent.fish -P "$HOME"/.config/fish/functions/ +rm "$HOME"/.config/fish/functions/fish_ssh_agent.fish 2>/dev/null +wget -q https://gitlab.com/kyb/fish_ssh_agent/raw/master/functions/fish_ssh_agent.fish -P "$HOME"/.config/fish/functions/ # Custom config.fish rm "$HOME"/.config/fish/config.fish 2>/dev/null wget -q https://git.kennel.ml/Anri/manjaroConfiguration/raw/branch/main/.config/fish/config.fish -P "$HOME"/.config/fish/ @@ -122,7 +122,7 @@ wget -q --show-progress "$url" -O completions_fish mv completions_fish ~/.config/fish/completions/tldr.fish # == Git LFS == -sudo apt install git-lfs -y +sudo pacman -S git-lfs --noconfirm git lfs install # == VSCode == @@ -201,19 +201,19 @@ wget -q --show-progress https://git.kennel.ml/Anri/manjaroConfiguration/raw/bran # Add keybinding # Adding the keyboard shortcut CUSTOM_KEYBINDINGS_LIST=$(gsettings get org.gnome.settings-daemon.plugins.media-keys custom-keybindings) -if ! echo "$CUSTOM_KEYBINDINGS_LIST" | grep -q "$PROJECT_REPO" +if ! echo "$CUSTOM_KEYBINDINGS_LIST" | grep -q "x11-emoji-picker" then if [ "$CUSTOM_KEYBINDINGS_LIST" = "@as []" ] # creating new list if not exists then - CUSTOM_KEYBINDINGS_LIST="['/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/$PROJECT_REPO/']" + CUSTOM_KEYBINDINGS_LIST="['/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/x11-emoji-picker/']" else # if already existing, adding our new element CUSTOM_KEYBINDINGS_LIST=$(echo "$CUSTOM_KEYBINDINGS_LIST" | sed 's/\[//' | sed 's/\]//') - CUSTOM_KEYBINDINGS_LIST="[$CUSTOM_KEYBINDINGS_LIST, '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/$PROJECT_REPO/']" + CUSTOM_KEYBINDINGS_LIST="[$CUSTOM_KEYBINDINGS_LIST, '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/x11-emoji-picker/']" fi gsettings set org.gnome.settings-daemon.plugins.media-keys custom-keybindings "$CUSTOM_KEYBINDINGS_LIST" # update the list - gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/$PROJECT_REPO/ name "$PROJECT_NAME" # set name - gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/$PROJECT_REPO/ command "$EXECUTABLE_NAME" # set command - gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/$PROJECT_REPO/ binding "period" # set shortcut + gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/x11-emoji-picker/ name "Emoji-Picker" # set name + gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/x11-emoji-picker/ command "emoji-picker" # set command + gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/x11-emoji-picker/ binding "period" # set shortcut fi # == Gnome configuration ==