From 2abd0e0218ba60e9f0dad348a3c2243a3324e40c Mon Sep 17 00:00:00 2001 From: lonkaars Date: Tue, 5 Mar 2024 13:41:54 +0100 Subject: mode: reload nvim colors live --- .config/yadm/packages-arch | 1 + .config/yadm/root/bootstrap | 20 +++++++++++++++++--- 2 files changed, 18 insertions(+), 3 deletions(-) (limited to '.config/yadm') diff --git a/.config/yadm/packages-arch b/.config/yadm/packages-arch index 35729df..7c36655 100644 --- a/.config/yadm/packages-arch +++ b/.config/yadm/packages-arch @@ -24,6 +24,7 @@ jq libpulse # for pactl maim mpd +neovim-remote nicotine+ picom pipewire diff --git a/.config/yadm/root/bootstrap b/.config/yadm/root/bootstrap index 19e5148..b244471 100755 --- a/.config/yadm/root/bootstrap +++ b/.config/yadm/root/bootstrap @@ -28,9 +28,12 @@ begintask "copy system config files" s cp -r etc/. /etc endtask -begintask "set pinentry program to pinentry-gnome3 (GTK 3)" -s ln -sf pinentry-gnome3 "$(command -v pinentry)" -endtask +PINENTRY="pinentry-gnome3" +[ "$(command -v pinentry | xargs realpath | xargs basename)" != "$PINENTRY" ] && ( + begintask "set pinentry program to $PINENTRY" + s ln -sf "$PINENTRY" "$(command -v pinentry)" + endtask +) begintask "enabling services" s systemctl enable bluetooth ntpd cups @@ -69,3 +72,14 @@ s grep '^#\s*\' /etc/pacman.conf && ( endtask ) +[ "$(getent passwd "$SETUP_USER" | cut -d: -f7 | xargs basename)" != "zsh" ] && ( + begintask "set user shell to zsh" + s chsh -s "$(command -v zsh)" "$SETUP_USER" + endtask +) + +cat << EOF + +root bootstrap finished in $(finishtime)! + +EOF -- cgit v1.2.3