mirror of
https://github.com/tumillanino/miasma-os.git
synced 2026-04-11 07:15:31 +00:00
move to new repo
This commit is contained in:
16
files/justfiles/configure-zsh.just
Normal file
16
files/justfiles/configure-zsh.just
Normal file
@@ -0,0 +1,16 @@
|
||||
setup-zsh:
|
||||
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
|
||||
git clone https://github.com/zsh-users/zsh-autosuggestions.git $ZSH_CUSTOM/plugins/zsh-autosuggestions
|
||||
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting
|
||||
git clone https://github.com/zdharma-continuum/fast-syntax-highlighting.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/fast-syntax-highlighting
|
||||
git clone --depth 1 -- https://github.com/marlonrichert/zsh-autocomplete.git $ZSH_CUSTOM/plugins/zsh-autocomplete
|
||||
|
||||
{echo 'plugins=(git'
|
||||
echo 'zsh-autosuggestions'
|
||||
echo 'zsh-syntax-highlighting'
|
||||
echo 'fast-syntax-highlighting'
|
||||
echo 'zsh-autocomplete'
|
||||
echo ')'
|
||||
} >> ~/.zshrc
|
||||
|
||||
@echo 'eval "$(oh-my-posh init zsh --config 'https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/refs/heads/main/themes/json.omp.json')"' >> ~/.zshrc
|
||||
37
files/justfiles/first-run.just
Normal file
37
files/justfiles/first-run.just
Normal file
@@ -0,0 +1,37 @@
|
||||
first-run:
|
||||
usermod -aG audio $USER
|
||||
|
||||
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
|
||||
git clone https://github.com/zsh-users/zsh-autosuggestions.git $ZSH_CUSTOM/plugins/zsh-autosuggestions
|
||||
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting
|
||||
git clone https://github.com/zdharma-continuum/fast-syntax-highlighting.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/fast-syntax-highlighting
|
||||
git clone --depth 1 -- https://github.com/marlonrichert/zsh-autocomplete.git $ZSH_CUSTOM/plugins/zsh-autocomplete
|
||||
|
||||
{echo 'plugins=(git'
|
||||
echo 'zsh-autosuggestions'
|
||||
echo 'zsh-syntax-highlighting'
|
||||
echo 'fast-syntax-highlighting'
|
||||
echo 'zsh-autocomplete'
|
||||
echo ')'
|
||||
} >> ~/.zshrc
|
||||
|
||||
@echo 'eval "$(oh-my-posh init zsh --config 'https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/refs/heads/main/themes/json.omp.json')"' >> ~/.zshrc
|
||||
|
||||
@echo 'Adding /usr/lib64 to Reaper plugin paths...'
|
||||
|
||||
mkdir ~/.config/REAPER
|
||||
touch ~/.config/REAPER/reaper.ini
|
||||
|
||||
sed -i '/^vstpath=/ s/$/;\/usr\/lib64\/vst3;\/usr\/lib64\/vst/' ~/.config/REAPER/reaper.ini
|
||||
sed -i '/^lv2path=/ s/$/;\/usr\/lib64\/lv2/;' ~/.config/REAPER/reaper.ini
|
||||
sed -i '/^clappath=/ s/$/;\/usr\/lib64\/clap/' ~/.config/REAPER/reaper.ini
|
||||
|
||||
@echo 'Paths updated. Please restart Reaper and clear cache/rescan'
|
||||
|
||||
export WINELOADER='/opt/wine-staging/bin/wine'
|
||||
|
||||
wineboot -u
|
||||
|
||||
yabridgectl add "$HOME/.wine/drive_c/Program Files/Common Files/VST3"
|
||||
|
||||
yabridgectl sync
|
||||
11
files/justfiles/route-plugins.just
Normal file
11
files/justfiles/route-plugins.just
Normal file
@@ -0,0 +1,11 @@
|
||||
route-plugins:
|
||||
@echo 'Adding /usr/lib64 to Reaper plugin paths...'
|
||||
|
||||
mkdir ~/.config/REAPER
|
||||
touch ~/.config/REAPER/reaper.ini
|
||||
|
||||
sed -i '/^vstpath=/ s/$/;\/usr\/lib64\/vst3;\/usr\/lib64\/vst/' ~/.config/REAPER/reaper.ini
|
||||
sed -i '/^lv2path=/ s/$/;\/usr\/lib64\/lv2/;' ~/.config/REAPER/reaper.ini
|
||||
sed -i '/^clappath=/ s/$/;\/usr\/lib64\/clap/' ~/.config/REAPER/reaper.ini
|
||||
|
||||
@echo 'Paths updated. Please restart Reaper and clear cache/rescan'
|
||||
10
files/justfiles/setupaudio.just
Normal file
10
files/justfiles/setupaudio.just
Normal file
@@ -0,0 +1,10 @@
|
||||
# Setup yabridge paths and sync plugins for the current user
|
||||
setup-audio:
|
||||
#!/usr/bin/env bash
|
||||
export WINELOADER='/opt/wine-staging/bin/wine'
|
||||
|
||||
wineboot -u
|
||||
|
||||
yabridgectl add "$HOME/.wine/drive_c/Program Files/Common Files/VST3"
|
||||
|
||||
yabridgectl sync
|
||||
Reference in New Issue
Block a user