mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
chore: remove wallpaper section from install.sh script
This commit is contained in:
parent
1d91fccf1e
commit
907352965d
1 changed files with 72 additions and 81 deletions
11
install.sh
11
install.sh
|
|
@ -22,8 +22,7 @@ confirm() {
|
||||||
echo -en "[${GREEN}y${NORMAL}/${RED}n${NORMAL}]: "
|
echo -en "[${GREEN}y${NORMAL}/${RED}n${NORMAL}]: "
|
||||||
read -n 1 -r
|
read -n 1 -r
|
||||||
echo
|
echo
|
||||||
if [[ ! $REPLY =~ ^[Yy]$ ]]
|
if [[ ! $REPLY =~ ^[Yy]$ ]]; then
|
||||||
then
|
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
@ -97,14 +96,6 @@ install() {
|
||||||
mkdir -p ~/Pictures/wallpapers/others
|
mkdir -p ~/Pictures/wallpapers/others
|
||||||
sleep 0.2
|
sleep 0.2
|
||||||
|
|
||||||
# Copy the wallpapers
|
|
||||||
echo -e "Copying all ${MAGENTA}wallpapers${NORMAL}"
|
|
||||||
cp -r wallpapers/wallpaper.png ~/Pictures/wallpapers
|
|
||||||
cp -r wallpapers/otherWallpaper/catppuccin/* ~/Pictures/wallpapers/others/
|
|
||||||
cp -r wallpapers/otherWallpaper/nixos/* ~/Pictures/wallpapers/others/
|
|
||||||
cp -r wallpapers/otherWallpaper/others/* ~/Pictures/wallpapers/others/
|
|
||||||
sleep 0.2
|
|
||||||
|
|
||||||
# Get the hardware configuration
|
# Get the hardware configuration
|
||||||
echo -e "Copying ${MAGENTA}/etc/nixos/hardware-configuration.nix${NORMAL} to ${MAGENTA}./hosts/${HOST}/${NORMAL}\n"
|
echo -e "Copying ${MAGENTA}/etc/nixos/hardware-configuration.nix${NORMAL} to ${MAGENTA}./hosts/${HOST}/${NORMAL}\n"
|
||||||
cp /etc/nixos/hardware-configuration.nix hosts/${HOST}/hardware-configuration.nix
|
cp /etc/nixos/hardware-configuration.nix hosts/${HOST}/hardware-configuration.nix
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue