Extra all packages into a single master manifest

This commit is contained in:
David Heinemeier Hansson
2025-08-25 09:04:13 +02:00
parent 256a49ee53
commit c73c1c90bf
17 changed files with 127 additions and 92 deletions

15
install/packaging/asdcontrol.sh Executable file
View File

@@ -0,0 +1,15 @@
#!/bin/bash
# Install asdcontrol for controlling brightness on Apple Displays
if ! command -v asdcontrol &>/dev/null; then
git clone https://github.com/nikosdion/asdcontrol.git /tmp/asdcontrol
cd /tmp/asdcontrol
make
sudo make install
cd -
rm -rf /tmp/asdcontrol
# Setup sudo-less controls
echo "$USER ALL=(ALL) NOPASSWD: /usr/local/bin/asdcontrol" | sudo tee /etc/sudoers.d/asdcontrol
sudo chmod 440 /etc/sudoers.d/asdcontrol
fi

6
install/packaging/fonts.sh Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/bash
# Omarchy logo in a font for Waybar use
mkdir -p ~/.local/share/fonts
cp ~/.local/share/omarchy/config/omarchy.ttf ~/.local/share/fonts/
fc-cache

8
install/packaging/lazyvim.sh Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/bash
if [[ ! -d "$HOME/.config/nvim" ]]; then
git clone https://github.com/LazyVim/starter ~/.config/nvim
cp -R ~/.local/share/omarchy/config/nvim/* ~/.config/nvim/
rm -rf ~/.config/nvim/.git
echo "vim.opt.relativenumber = false" >>~/.config/nvim/lua/config/options.lua
fi