double quote

This commit is contained in:
Mylloon 2022-02-17 01:07:48 +01:00
parent 73e0d8208a
commit 16cec45d3b
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -11,42 +11,42 @@ sudo pacman -S fish bat exa --noconfirm
# Remove motd # Remove motd
fish -c "set -U fish_greeting" fish -c "set -U fish_greeting"
# Reversed search # Reversed search
curl -sL https://git.io/fisher | fish -c 'source && fisher install jorgebucaran/fisher' curl -sL https://git.io/fisher | fish -c "source && fisher install jorgebucaran/fisher"
fish -c 'fisher install jethrokuan/fzf' fish -c "fisher install jethrokuan/fzf"
# SSH need2check if really needed # SSH need2check if really needed
rm "$HOME"/.config/fish/functions/fish_ssh_agent.fish 2>/dev/null 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/ wget -q https://gitlab.com/kyb/fish_ssh_agent/raw/master/functions/fish_ssh_agent.fish -P "$HOME"/.config/fish/functions/
# Custom config.fish # Custom config.fish
rm "$HOME"/.config/fish/config.fish 2>/dev/null 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/ wget -q https://git.kennel.ml/Anri/manjaroConfiguration/raw/branch/main/.config/fish/config.fish -P "$HOME"/.config/fish/
# Custom prompt shell # Custom prompt shell
rm "$HOME"/.config/fish/functions/fish_prompt.fish 2>/dev/null rm "$HOME"/.config/fish/functions/fish_prompt.fish 2> /dev/null
wget -q https://git.kennel.ml/Anri/manjaroConfiguration/raw/branch/main/.config/fish/functions/fish_prompt.fish -P "$HOME"/.config/fish/functions/ wget -q https://git.kennel.ml/Anri/manjaroConfiguration/raw/branch/main/.config/fish/functions/fish_prompt.fish -P "$HOME"/.config/fish/functions/
fish -c 'set -U fish_color_normal normal' fish -c "set -U fish_color_normal normal"
fish -c 'set -U fish_color_command 99cc99' fish -c "set -U fish_color_command 99cc99"
fish -c 'set -U fish_color_quote ffcc66' fish -c "set -U fish_color_quote ffcc66"
fish -c 'set -U fish_color_redirection d3d0c8' fish -c "set -U fish_color_redirection d3d0c8"
fish -c 'set -U fish_color_end cc99cc' fish -c "set -U fish_color_end cc99cc"
fish -c 'set -U fish_color_error f2777a' fish -c "set -U fish_color_error f2777a"
fish -c 'set -U fish_color_param d3d0c8' fish -c "set -U fish_color_param d3d0c8"
fish -c 'set -U fish_color_comment ffcc66' fish -c "set -U fish_color_comment ffcc66"
fish -c 'set -U fish_color_match 6699cc' fish -c "set -U fish_color_match 6699cc"
fish -c 'set -U fish_color_selection white --bold --background=brblack' fish -c "set -U fish_color_selection white --bold --background=brblack"
fish -c 'set -U fish_color_search_match bryellow --background=brblack' fish -c "set -U fish_color_search_match bryellow --background=brblack"
fish -c 'set -U fish_color_history_current --bold' fish -c "set -U fish_color_history_current --bold"
fish -c 'set -U fish_color_operator 6699cc' fish -c "set -U fish_color_operator 6699cc"
fish -c 'set -U fish_color_escape 66cccc' fish -c "set -U fish_color_escape 66cccc"
fish -c 'set -U fish_color_cwd green' fish -c "set -U fish_color_cwd green"
fish -c 'set -U fish_color_cwd_root red' fish -c "set -U fish_color_cwd_root red"
fish -c 'set -U fish_color_valid_path --underline' fish -c "set -U fish_color_valid_path --underline"
fish -c 'set -U fish_color_autosuggestion 747369' fish -c "set -U fish_color_autosuggestion 747369"
fish -c 'set -U fish_color_user brgreen' fish -c "set -U fish_color_user brgreen"
fish -c 'set -U fish_color_host normal' fish -c "set -U fish_color_host normal"
fish -c 'set -U fish_color_cancel -r' fish -c "set -U fish_color_cancel -r"
fish -c 'set -U fish_pager_color_completion normal' fish -c "set -U fish_pager_color_completion normal"
fish -c 'set -U fish_pager_color_description B3A06D yellow' fish -c "set -U fish_pager_color_description B3A06D yellow"
fish -c 'set -U fish_pager_color_prefix normal --bold --underline' fish -c "set -U fish_pager_color_prefix normal --bold --underline"
fish -c 'set -U fish_pager_color_progress brwhite --background=cyan' fish -c "set -U fish_pager_color_progress brwhite --background=cyan"
# Add aliases # Add aliases
fish -c "abbr ls 'exa -glh'" fish -c "abbr ls 'exa -glh'"
fish -c "abbr cp 'cp -rv'" fish -c "abbr cp 'cp -rv'"
@ -176,9 +176,9 @@ else # if already existing, adding our new element
CUSTOM_KEYBINDINGS_LIST="${CUSTOM_KEYBINDINGS_LIST::-1}, '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/flameshot-shortcut/']" CUSTOM_KEYBINDINGS_LIST="${CUSTOM_KEYBINDINGS_LIST::-1}, '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/flameshot-shortcut/']"
fi fi
gsettings set org.gnome.settings-daemon.plugins.media-keys custom-keybindings "$CUSTOM_KEYBINDINGS_LIST" gsettings set org.gnome.settings-daemon.plugins.media-keys custom-keybindings "$CUSTOM_KEYBINDINGS_LIST"
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/flameshot-shortcut/ name 'Flameshot' # set name gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/flameshot-shortcut/ name "Flameshot" # set name
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/flameshot-shortcut/ command 'flameshot gui' # set command gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/flameshot-shortcut/ command "flameshot gui" # set command
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/flameshot-shortcut/ binding 'Print' # set key gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/flameshot-shortcut/ binding "Print" # set key
# Remove icon # Remove icon
if [ -f /usr/share/applications/org.flameshot.Flameshot.desktop ] if [ -f /usr/share/applications/org.flameshot.Flameshot.desktop ]
then then
@ -229,9 +229,9 @@ else # if already existing, adding our new element
CUSTOM_KEYBINDINGS_LIST="${CUSTOM_KEYBINDINGS_LIST::-1}, '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/nautilus-shortcut/']" CUSTOM_KEYBINDINGS_LIST="${CUSTOM_KEYBINDINGS_LIST::-1}, '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/nautilus-shortcut/']"
fi 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-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/nautilus-shortcut/ name 'Nautilus' # set name gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/nautilus-shortcut/ name "Nautilus" # set name
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/nautilus-shortcut/ command 'nautilus -w' # set command gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/nautilus-shortcut/ command "nautilus -w" # set command
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/nautilus-shortcut/ binding '<Super>E' # set shortcut gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/nautilus-shortcut/ binding "<Super>E" # set shortcut
# Show battery poucentage # Show battery poucentage
gsettings set org.gnome.desktop.interface show-battery-percentage true gsettings set org.gnome.desktop.interface show-battery-percentage true