codestyle

This commit is contained in:
thek4n 2025-01-10 15:44:49 +03:00
parent 26e6bd40bb
commit 160cecbbef
5 changed files with 14 additions and 11 deletions

View File

@ -1,11 +1,13 @@
#!/bin/sh
sub="$HOME/.local/share/fonts"
set -e
mkdir -p "$sub"
cd "$sub"
sub="${HOME}/.local/share/fonts"
mkdir -p "${sub}"
cd "${sub}"
wget 'https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/FiraCode.zip'
unzip FiraCode.zip -d "$sub"
unzip FiraCode.zip -d "${sub}"
git clone 'https://github.com/powerline/fonts.git' --depth=1
cd fonts
./install.sh

View File

@ -1,4 +1,5 @@
#!/bin/sh
cat "$SUB/.gnupg/gpg.conf" >> "$HOME/.gnupg/gpg.conf"
echo -e "default-cache-ttl 1\nmax-cache-ttl 1" > "$HOME/.gnupg/gpg-agent.conf"; echo RELOADAGENT | gpg-connect-agent
cat "${SUB}/.gnupg/gpg.conf" >> "${HOME}/.gnupg/gpg.conf"
printf "%s\n%s" "default-cache-ttl 1" "max-cache-ttl 1" > "${HOME}/.gnupg/gpg-agent.conf"
echo RELOADAGENT | gpg-connect-agent

View File

@ -1,4 +1,4 @@
#!/bin/sh
mkdir -p "$SANDBOX_PATH/.config/ranger/plugins"
git clone https://github.com/alexanderjeurissen/ranger_devicons "$SANDBOX_PATH/.config/ranger/plugins/ranger_devicons"
mkdir -p "${SANDBOX_PATH}/.config/ranger/plugins"
git clone https://github.com/alexanderjeurissen/ranger_devicons "${SANDBOX_PATH}/.config/ranger/plugins/ranger_devicons"

View File

@ -1,3 +1,3 @@
#!/bin/sh
cat "$SUB/.ssh/config" >> "$HOME/.ssh/config"
cat "${SUB}/.ssh/config" >> "${HOME}/.ssh/config"

View File

@ -1,4 +1,4 @@
#!/bin/sh
command -v systemctl >/dev/null && systemctl --user enable --now tmux
git clone https://github.com/tmux-plugins/tpm "$HOME/.config/tmux/plugins/tpm" | true
git clone https://github.com/tmux-plugins/tpm "${HOME}/.config/tmux/plugins/tpm" | true