mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Extra all packages into a single master manifest
This commit is contained in:
15
install/packaging/asdcontrol.sh
Executable file
15
install/packaging/asdcontrol.sh
Executable 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
6
install/packaging/fonts.sh
Executable 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
8
install/packaging/lazyvim.sh
Executable 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
|
||||
Reference in New Issue
Block a user