config/yadm: bootstrap adjustment for server compatibility

This commit is contained in:
xeruf 2021-10-08 13:17:27 +02:00
parent 526346538b
commit 2e33ec0efb
3 changed files with 32 additions and 1 deletions

View File

@ -88,6 +88,8 @@ if test -f /etc/pacman.conf; then
fi fi
### Applications ### Applications
test "$DISPLAY" || exit 0
highlight "Block internet at night & on weekdays in the morning to force focus" highlight "Block internet at night & on weekdays in the morning to force focus"
walli 22 --save walli 22 --save

25
.config/yadm/bootstrap.d.bak Executable file
View File

@ -0,0 +1,25 @@
#!/bin/bash
# Save this file as ~/.config/yadm/bootstrap and make it executable.
# It will execute all executable files (excluding templates and editor backups)
# in ~/.config/yadm/bootstrap.d/ when run.
# Use in conjunction with https://yadm.io/docs/alternates
set -eu
# Directory to look for bootstrap executables in
BOOTSTRAP_D="${BASH_SOURCE[0]}.d"
if [[ ! -d "$BOOTSTRAP_D" ]]; then
echo "Error: bootstrap directory '$BOOTSTRAP_D' not found" >&2
exit 1
fi
find -L "$BOOTSTRAP_D" -type f | sort | while IFS= read -r bootstrap; do
if [[ -x "$bootstrap" && ! "$bootstrap" =~ "##" && ! "$bootstrap" =~ "~$" ]]; then
if ! "$bootstrap"; then
echo "Error: bootstrap '$bootstrap' failed" >&2
exit 1
fi
fi
done

View File

@ -22,7 +22,6 @@ and configuration for ~less~ and ~fzf~.
- [[.config/doom][doom]] :: [[https://github.com/hlissner/doom-emacs][Doom Emacs]] configuration with personalized snippets - [[.config/doom][doom]] :: [[https://github.com/hlissner/doom-emacs][Doom Emacs]] configuration with personalized snippets
- ideavim, vifm, nvim :: vi-related tools - ideavim, vifm, nvim :: vi-related tools
- git, yadm :: version control - git, yadm :: version control
: yadm clone --bootstrap git.jfischer.org:xeruf/dotfiles.git
** .local ** .local
- [[.local/bin/scripts][scripts]] :: lots of useful scripts, - [[.local/bin/scripts][scripts]] :: lots of useful scripts,
most have a short documentation header - most have a short documentation header -
@ -33,8 +32,12 @@ and configuration for ~less~ and ~fzf~.
- essentials :: git zsh bat neovim man-db texinfo - essentials :: git zsh bat neovim man-db texinfo
- basic tools :: fd ripgrep tree jrnl python-pynvim wget zsh-completions mlocate - basic tools :: fd ripgrep tree jrnl python-pynvim wget zsh-completions mlocate
- common tools :: ffmpeg imagemagick pandoc [[https://lftp.yar.ru/][lftp]] zsh-doc glances pacman-contrib pass - common tools :: ffmpeg imagemagick pandoc [[https://lftp.yar.ru/][lftp]] zsh-doc glances pacman-contrib pass
- ssh :: openssh sshfs lemonade-git
- dotfiles :: yadm
: yadm clone --bootstrap git.jfischer.org:xeruf/dotfiles.git
- aur recommendations :: tldr++ sc-im - aur recommendations :: tldr++ sc-im
- personal aur utils :: diffr bat-extras-git rdictcc-git - personal aur utils :: diffr bat-extras-git rdictcc-git
- experiments :: kakoune
** Applications ** Applications
- productivity :: activitywatch-bin - productivity :: activitywatch-bin
- music :: mpd mpc ncmpc mpd-mpris vlc phonon-qt5-vlc - music :: mpd mpc ncmpc mpd-mpris vlc phonon-qt5-vlc
@ -73,4 +76,5 @@ After running android-studio setup, accept licenses:
: $ANDROID_SDK_ROOT/tools/bin/sdkmanager --licenses : $ANDROID_SDK_ROOT/tools/bin/sdkmanager --licenses
** Server ** Server
Setup systemd-resolved and systemd-networkd Setup systemd-resolved and systemd-networkd
- ssh :: lemonade openssh
- social :: pleroma-bin postgresql caddy - social :: pleroma-bin postgresql caddy