aboutsummaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
Diffstat (limited to 'install')
-rwxr-xr-xinstall23
1 files changed, 20 insertions, 3 deletions
diff --git a/install b/install
index c454b0b..b180447 100755
--- a/install
+++ b/install
@@ -8,7 +8,9 @@ git submodule update --init --recursive || (
)
# Source inst and diff function
+. ./utils/ask
. ./utils/inst
+. ./utils/guix
# Load if we force changes (implies no interaction)
[ "$1" = "-f" ] && FORCE=true || FORCE=false
@@ -37,7 +39,15 @@ if ask "nix" "Install Nix configuration"; then
inst private/config/nix/builders ~/.config/nix/builders
fi
-if ask "clituls" "Install configurations for various CLI utility tools"; then
+if hascmd guix && ask "guix" "Install Guix configuration"; then
+ inst guile ~/.guile
+ inst config/guix/channels.scm ~/.config/guix/channels.scm
+ guix_install \
+ guile guile-colorized guile-readline guile-lsp-server
+fi
+
+if ask "cliutils" "Install configurations for various CLI utility tools"; then
+ inst infokey ~/.infokey
inst screenrc ~/.screenrc
inst local/share/mc/skins/nord16M.ini ~/.local/share/mc/skins/nord16M.ini
fi
@@ -60,8 +70,10 @@ if ask "nvim" "Install NeoVIM scripts"; then
nvim --headless -c 'autocmd User PackerComplete quitall' -c 'PackerSync'
# cs spelling
mkdir -p ~/.local/share/nvim/site/spell
- curl "http://ftp.vim.org/vim/runtime/spell/cs.utf-8.spl" \
+ curl "https://ftp.nluug.nl/pub/vim/runtime/spell/cs.utf-8.spl" \
>~/.local/share/nvim/site/spell/cs.utf-8.spl
+ curl "https://ftp.nluug.nl/pub/vim/runtime/spell/cs.utf-8.sug" \
+ >~/.local/share/nvim/site/spell/cs.utf-8.sug
fi
if ask "dev" "Development tools configuration"; then
@@ -89,13 +101,15 @@ if ask "sync" "Install synchronization"; then
inst local/bin/email-unread ~/.local/bin/email-unread
inst local/sbin/newmail-notify ~/.local/sbin/newmail-notify
inst private/msmtprc ~/.msmtprc
+ inst config/dodo/config.py ~/.config/dodo/config.py
inst private/astroid/config ~/.config/astroid/config
- inst config/astroid/ui/ ~/.config/astroid/ui
inst private/vdirsyncer/ ~/.vdirsyncer
inst config/khal/config ~/.config/khal/config
inst config/khard/khard.conf ~/.config/khard/khard.conf
+ inst local/bin/cloud ~/.local/bin/cloud
+
inst_sync
fi
@@ -122,6 +136,7 @@ if ask "desktop" "Install desktop"; then
inst config/swaylock/ ~/.config/swaylock
inst config/swayidle/ ~/.config/swayidle
inst config/wofi/ ~/.config/wofi
+ inst config/systemd/user/waybar.service ~/.config/systemd/user/waybar.service
[ -f "private/kanshi/$(hostname)" ] &&
inst "private/kanshi/$(hostname)" ~/.config/kanshi/config
inst config/xdg-desktop-portal-wlr/ ~/.config/xdg-desktop-portal-wlr
@@ -137,8 +152,10 @@ if ask "mpd" "Install MPD configuration"; then
fi
if ask "elektroline" "Install Elektroline scripts"; then
+ inst shvcli.toml ~/.shvcli.toml
inst local/bin/elektroline-git-config ~/.local/bin/elektroline-git-config
inst local/bin/elektroline-windows ~/.local/bin/elektroline-windows
+ inst local/share/applications/elektroline-windows.desktop ~/.local/share/applications/elektroline-windows.desktop
inst local/bin/elektroline00 ~/.local/bin/elektroline00
fi