Skip to content

Commit

Permalink
20240710 Add custom just scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
pliveyns committed Jul 10, 2024
1 parent 411f746 commit 92dad59
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions config/files/usr/share/ublue-os/just/110-myscripts.just
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# vim: set ft=make :

# Install bluebox toolbox: ghcr.io/pliveyns/bluebox
toolbox-bluebox:
#!/bin/sh
# should not run if the toolbox already exists
toolbox list --containers | grep bluebox >& /dev/null
if [ $? -eq 0 ]
then
echo "The toolbx bluebox already exists and will not be installed"
else
echo "Installing bluebox toolbx"
toolbox create -y -i ghcr.io/pliveyns/bluebox -c bluebox
fi

# Install nvchad
nvchad:
#!/bin/sh
# First check if nvim folder is not already existing
if [ -d ~/.config/nvim/ ]
then
echo "Directory ~/.config/nvim/ already exists."
echo "NvChad will not be installed."
else
echo "Installing NvChad for nvim"
toolbox run --container bluebox git clone https://github.com/NvChad/NvChad ~/.config/nvim --depth 1
fi

# Set firefox as default default browser
default-browser-firefox:
#!/bin/sh
xdg-settings set default-web-browser org.mozilla.firefox.desktop

# Run the ansible postinstall
postinstall:
curl http://192.168.148.28:8081/bootstrapublue | bash

0 comments on commit 92dad59

Please sign in to comment.