Compare commits

...

5 Commits

5 changed files with 36 additions and 10 deletions

View File

@ -5,6 +5,9 @@ Description=Aminda's deduplication service
Type=oneshot
TimeoutStartSec=infinity
# Contained in `systemd-path search-binaries-default`
# I have observed duperemove requesting blkid to be ran as root for
# generating some cache, so sure.
ExecStart=-blkid
ExecStart=-duperemove -rdhq --hashfile=/root/home.hash /home
ExecStart=-duperemove -rdhq --hashfile=/root/usr-local-bin.hash /usr/local/bin
ExecStart=-duperemove -rdhq --hashfile=/root/flatpak.hash /var/lib/flatpak

23
install
View File

@ -150,6 +150,29 @@ if [ "$(id -u)" == "0" ]; then
mkdir -p /usr/local/share/fonts
ln -nsfv /usr/share/texlive/texmf-dist/fonts /usr/local/share/fonts/texlive
fi
# They say to not repeat yourself, but copy-pasting from below is the
# easiest way to make the submodule fonts available to the system.
if [ -d "$HOME/.shell-things" ]; then
mkdir -p /usr/local/share/fonts
ln -nsfv $HOME/.shell-things/submodules/comicneue/Fonts/OTF /usr/local/share/fonts/comicneue
ln -nsfv $HOME/.shell-things/submodules/comic-shanns-mono/fonts/ComicShannsMono-Regular.otf /usr/local/share/fonts/
ln -nsfv $HOME/.shell-things/submodules/opendyslexic/compiled/OpenDyslexic-*.otf /usr/local/share/fonts/
ln -nsfv $HOME/.shell-things/submodules/serious-sans/SeriousShanns/otf /usr/local/share/fonts/SeriousShanns
ln -nsfv $HOME/.shell-things/submodules/serious-sans/SeriousShanns/NerdFont /usr/local/share/fonts/
ln -nsfv $HOME/.shell-things/submodules/serious-sans/SeriousShanns/NerdFontMono /usr/local/share/fonts/
ln -nsfv $HOME/.shell-things/submodules/serious-sans/SeriousShanns/NerdFontPropo /usr/local/share/fonts/
ln -nsfv $HOME/.shell-things/submodules/Inclusive-Sans/fonts/variable /usr/local/share/fonts/Inclusive-Sans
fi
# Font cleanup
if hash symlinks 2> /dev/null; then
symlinks -d /usr/local/share/fonts/
else
echo "WARNING! Executable named symlinks not found in PATH."
sleep 3
fi
fi
# Make the submoduled fonts available to the system

2
package.json vendored
View File

@ -9,6 +9,6 @@
"prettier-plugin-sh": "0.17.2",
"prettier-plugin-toml": "2.0.4"
},
"packageManager": "pnpm@10.8.1+sha512.c50088ba998c67b8ca8c99df8a5e02fd2ae2e2b29aaf238feaa9e124248d3f48f9fb6db2424949ff901cffbb5e0f0cc1ad6aedb602cd29450751d11c35023677",
"packageManager": "pnpm@10.9.0+sha512.0486e394640d3c1fb3c9d43d49cf92879ff74f8516959c235308f5a8f62e2e19528a65cdc2a3058f587cde71eba3d5b56327c8c33a97e4c4051ca48a10ca2d5f",
"prettier": "@aminda/global-prettier-config"
}

16
pnpm-lock.yaml generated vendored
View File

@ -55,10 +55,10 @@ packages:
peerDependencies:
prettier: ^3.0.0
"@reteps/dockerfmt@0.3.5":
"@reteps/dockerfmt@0.3.6":
resolution:
{
integrity: sha512-ib1LU/3lXHAH63hxaGu9O+G3nbe5JlCg5WoMS7zzfuuBUPenCeuO7cOhYhI7IwD2QaD1NBy8AJ+FrKyhaHtWLA==,
integrity: sha512-Tb5wIMvBf/nLejTQ61krK644/CEMB/cpiaIFXqGApfGqO3GwcR3qnI0DbmkFVCl2OyEp8LnLX3EkucoL0+tbFg==,
}
engines: { node: ^v12.20.0 || ^14.13.0 || >=16.0.0 }
@ -132,10 +132,10 @@ packages:
integrity: sha512-tlbJqcMHnPKI9zSrystikWKwHkBqu2a/Sgw01h3zFjvYrMxEDYHzzoMZnUrbIfpTFEsoRnnviOXNCzFiSc54Qw==,
}
sh-syntax@0.5.6:
sh-syntax@0.5.7:
resolution:
{
integrity: sha512-hUprXSSgi3HLdIxufSsr0lceThj6vKsgOHcVVGujDGLWg9RD5Mt6j2m642qkTAU/7GFX65ed/g9h2jeURGuTlQ==,
integrity: sha512-74m9dt91konrF5+m0kASugzi37VxKsnTJQ6yvdDZu3IijG5/vIZpImP6FadsJLWNt2X2YD0VaTwW5W7Ox7mFVg==,
}
engines: { node: ">=16.0.0" }
@ -165,7 +165,7 @@ snapshots:
"@xml-tools/parser": 1.0.11
prettier: 3.5.3
"@reteps/dockerfmt@0.3.5": {}
"@reteps/dockerfmt@0.3.6": {}
"@taplo/core@0.2.0": {}
@ -187,9 +187,9 @@ snapshots:
prettier-plugin-sh@0.17.2(prettier@3.5.3):
dependencies:
"@reteps/dockerfmt": 0.3.5
"@reteps/dockerfmt": 0.3.6
prettier: 3.5.3
sh-syntax: 0.5.6
sh-syntax: 0.5.7
prettier-plugin-toml@2.0.4(prettier@3.5.3):
dependencies:
@ -200,7 +200,7 @@ snapshots:
regexp-to-ast@0.5.0: {}
sh-syntax@0.5.6:
sh-syntax@0.5.7:
dependencies:
tslib: 2.8.1

@ -1 +1 @@
Subproject commit ce2f0a3aaa2c03aac135bcb84c97fbd6a546e510
Subproject commit 77bda89f3f2069c78d81d33de43b461c2de6c48e