feat: additions from installing arch from scratch

This commit is contained in:
xeruf 2022-11-23 05:03:21 +01:00
parent c38316a66b
commit db3c8996e0
46 changed files with 67 additions and 4 deletions

8
groups/arch Normal file
View File

@ -0,0 +1,8 @@
arch-tools
doom
syncthing
kdeconnect
instalee
passwords
dev/most
office

4
groups/dev/most Normal file
View File

@ -0,0 +1,4 @@
dev/tools
dev/socha
dev/node
dev/ruby

2
groups/flash Normal file
View File

@ -0,0 +1,2 @@
adb
etcher

5
groups/font Normal file
View File

@ -0,0 +1,5 @@
fontpreview
noto-fonts
ttf-hack
ttf-dejavu
ttf-fira-code

View File

@ -7,3 +7,7 @@ expect
zoxide zoxide
locate locate
diffr diffr
tldr
kitty
timg
exa

View File

@ -51,8 +51,8 @@ installpkg() {
local name="$(basename $pkg_entry)" local name="$(basename $pkg_entry)"
local base="${name%_*}" local base="${name%_*}"
echo "Dependencies" >&2 echo "Dependencies" >&2
for dependency in $(cat "${dir_package}depends" "${dir_package}${base}_depends" 2>/dev/null) for dependency in $(cat "${dir_package}depends" "${dir_package}depends_${base}" 2>/dev/null)
do runinstalee $dependency | sed 's/^/ /' do { runinstalee "$dependency" || installdefault "$dependency"; } | sed 's/^/ /'
done done
local ext="${name#$base}" local ext="${name#$base}"
@ -121,7 +121,7 @@ case "$1" in
while printf "Handler? (Ctrl-C or Ctrl-D to exit, / to list all) " && read handler while printf "Handler? (Ctrl-C or Ctrl-D to exit, / to list all) " && read handler
do do
case "$handler" in case "$handler" in
(/*) find "$dir_packages" "$dir_home/handlers" -type f -not -name "*depends" -printf "%f\n" | sort | uniq | paste -s -d ' ';; (/*) find "$dir_packages" "$dir_home/handlers" -type f -not -name "depends*" -printf "%f\n" | sort | uniq | paste -s -d ' ';;
(*) ${EDITOR:-vi} "$dir/$handler";; (*) ${EDITOR:-vi} "$dir/$handler";;
esac esac
done done
@ -149,6 +149,7 @@ runinstalee() {
fi fi
} }
# TODO Manjaro
if ! test -f "$handlers" if ! test -f "$handlers"
then copy="$(find "$dir_home" -name "handlers.available.*" -exec sh -c "echo {} | rev | cut -d'.' -f1 | rev | xargs -i% expr $(lsb_release -s -i | tr 'A-Z' 'a-z' || cat /etc/os-release | grep '^ID=' | cut -d= -f2) : % >/dev/null" \; -a -print)" && then copy="$(find "$dir_home" -name "handlers.available.*" -exec sh -c "echo {} | rev | cut -d'.' -f1 | rev | xargs -i% expr $(lsb_release -s -i | tr 'A-Z' 'a-z' || cat /etc/os-release | grep '^ID=' | cut -d= -f2) : % >/dev/null" \; -a -print)" &&
test -n "$copy" && test -n "$copy" &&

View File

@ -0,0 +1 @@
ttf-all-the-icons

1
packages/base-devel/aur Normal file
View File

@ -0,0 +1 @@

1
packages/curl/aur Normal file
View File

@ -0,0 +1 @@

View File

@ -2,3 +2,4 @@ emacs
ripgrep ripgrep
fd fd
llvm llvm
all-the-icons

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/sh
emacsd="${XDG_CONFIG_HOME:-$HOME/.config}/emacs" emacsd="${XDG_CONFIG_HOME:-$HOME/.config}/emacs"
git clone https://github.com/hlissner/doom-emacs "$emacsd" git clone https://github.com/hlissner/doom-emacs "$emacsd"
"$emacsd" install "$emacsd/bin/doom" install

0
packages/emacs/arch Normal file
View File

1
packages/emacs/aur Normal file
View File

@ -0,0 +1 @@

1
packages/espanso/aur Normal file
View File

@ -0,0 +1 @@

1
packages/expect/aur Normal file
View File

@ -0,0 +1 @@

1
packages/fd/aur Normal file
View File

@ -0,0 +1 @@

1
packages/firefox/aur Normal file
View File

@ -0,0 +1 @@

1
packages/fontpreview/aur Normal file
View File

@ -0,0 +1 @@

1
packages/fzf/aur Normal file
View File

@ -0,0 +1 @@

1
packages/hxd/aur Normal file
View File

@ -0,0 +1 @@

1
packages/instalee/aur Normal file
View File

@ -0,0 +1 @@
instalee-git

0
packages/kdeconnect/arch Normal file
View File

1
packages/kitty/aur Normal file
View File

@ -0,0 +1 @@

1
packages/man-db/aur Normal file
View File

@ -0,0 +1 @@

1
packages/man-pages/aur Normal file
View File

@ -0,0 +1 @@

1
packages/meld/aur Normal file
View File

@ -0,0 +1 @@

1
packages/neovim/aur Normal file
View File

@ -0,0 +1 @@

1
packages/nodejs/aur Normal file
View File

@ -0,0 +1 @@

View File

@ -0,0 +1 @@

3
packages/noto-fonts/_aur Normal file
View File

@ -0,0 +1,3 @@
noto-fonts
noto-fonts-emoji
noto-fonts-extra

2
packages/noto-fonts/aur Normal file
View File

@ -0,0 +1,2 @@
noto-fonts-lite
noto-fonts-emoji

View File

@ -0,0 +1 @@

View File

@ -0,0 +1 @@

0
packages/syncthing/arch Normal file
View File

2
packages/syncthing/aur Normal file
View File

@ -0,0 +1,2 @@
syncthing
synct-git

1
packages/texinfo/aur Normal file
View File

@ -0,0 +1 @@

1
packages/timg/aur Normal file
View File

@ -0,0 +1 @@

1
packages/topgrade/aur Normal file
View File

@ -0,0 +1 @@

1
packages/tree/aur Normal file
View File

@ -0,0 +1 @@

1
packages/unrar/aur Normal file
View File

@ -0,0 +1 @@

1
packages/wget/aur Normal file
View File

@ -0,0 +1 @@

1
packages/yarn/aur Normal file
View File

@ -0,0 +1 @@

1
packages/zoxide/aur Normal file
View File

@ -0,0 +1 @@

View File

@ -0,0 +1 @@

1
packages/zsh/aur Normal file
View File

@ -0,0 +1 @@