From 5b00f2ec83a61f0a315277eabeb3334e51eaa2f7 Mon Sep 17 00:00:00 2001 From: surtur Date: Tue, 18 Oct 2022 13:56:56 +0200 Subject: [PATCH] sheldon: build more from src using inline funcs --- .config/sheldon/plugins.toml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.config/sheldon/plugins.toml b/.config/sheldon/plugins.toml index 19b11ef..e4f8c3b 100644 --- a/.config/sheldon/plugins.toml +++ b/.config/sheldon/plugins.toml @@ -13,6 +13,21 @@ inline = 'todo() {(test -f ~/TODO.md && glow ~/TODO.md) || echo no ~/TODO.md}' # ask dnscrypt.dotya.ml inline = 'my-ip() {doggo my.ip @sdns://AQcAAAAAAAAAETE0NC45MS43MC42Mjo1NDQzIHF-JiN46cNwFXJleEVWGWgrhe2QeysUtZoo9HwzYCMzITIuZG5zY3J5cHQtY2VydC5kbnNjcnlwdC5kb3R5YS5tbA}' +[plugins.nugit] +inline = 'nugit() {cd ~/utils/git || exit 1; git pull --all --prune; make configure && ./configure --prefix=$HOME/.local && make install}' +[plugins.nuvim] +inline = 'nuvim() {cd ~/utils/vim/src || exit 1; git pull --all --prune && ./configure --enable-multibyte --enable-luainterp --with-luajit --enable-python3interp --enable-rubyinterp --disable-gui --enable-cscope --with-features=huge --without-x --disable-xsmp --with-compiled-by --with-local-dir=$HOME/.local --prefix=$HOME/.local && make install_normal && ~/.local/bin/vim}' +[plugins.nukanshi] +inline = 'nukanshi() {cd ~/utils/sr.ht/kanshi || exit 1; git pull --all --prune; meson build --reconfigure && ninja -C build install}' +[plugins.nuaerc] +inline = 'nuaerc() {cd ~/utils/sr.ht/\~rjarry/aerc || exit 1; git pull --all --prune; CGO_LDFLAGS="${LDFLAGS}"; CGO_CFLAGS="${CFLAGS}" CGO_CPPFLAGS="${CPPFLAGS}" CGO_CXXFLAGS="${CXXFLAGS}" GOFLAGS="-buildmode=pie -trimpath -modcacherw -tags=notmuch" sudo make clean install}' +[plugins.nuwlsunset] +inline = 'nuwlsunset() {cd ~/utils/sr.ht/wlsunset || exit 1; git pull --all; mkdir -pv build; meson build -Dprefix=~/.local --reconfigure && ninja -C build && ninja -C build install}' +[plugins.nuswaylock-effects] +inline = 'nuswaylock-effects() {cd ~/utils/swaylock-effects || exit 1; git pull --all --prune && meson -Dprefix=/usr/local --reconfigure build && ninja -C build && sudo ninja -C build install}' +[plugins.nuhashcat] +inline = 'nuhashcat() {cd ~/utils/hashcat || exit 1; git pull --all --prune; make clean && sudo make install}' + [plugins.zsh-autosuggestions] github = 'zsh-users/zsh-autosuggestions'