File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11function setup(){
22 grep -qxF ' net.ipv4.tcp_mtu_probing=1' /etc/sysctl.d/99-sysctl.conf || echo ' net.ipv4.tcp_mtu_probing=1' | sudo tee -a /etc/sysctl.d/99-sysctl.conf
33
4- // Enable Agent for the user
4+ # Enable Agent for the user
55 systemctl --user enable --now ssh-agent.service
66}
77
Original file line number Diff line number Diff line change 11# Install AppImage not available in the Arch repos
22
33function setup(){
4- mkdir -p " ~/Applications"
4+ mkdir -p ~ /Applications
55 # Create quickcalc rofi entry
66 # ~/.local/share/applications/quickcal.desktop
77 cat << EOF > ~/.local/share/applications/quickcal.desktop
Original file line number Diff line number Diff line change @@ -11,10 +11,10 @@ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
1111)
1212
1313# Download all packages using pacman for install/**/packages.txt
14- find " $SCRIPT_DIR /install/" -name " packages.txt" -exec sh -c ' grep -v "^#" "$1" | sudo pacman -S --noconfirm --needed -' _ {} \;
14+ find " $SCRIPT_DIR /install/" -name " packages.txt" -exec sh -c ' grep -v "^#" "$1" | sudo pacman -Sw --noconfirm --needed -' _ {} \;
1515
1616# Download all packages using yay for install/**/packages.aur.txt
17- find " $SCRIPT_DIR /install/" -name " packages.aur.txt" -exec sh -c ' grep -v "^#" "$1" | yay -S --noconfirm --needed -' _ {} \;
17+ find " $SCRIPT_DIR /install/" -name " packages.aur.txt" -exec sh -c ' grep -v "^#" "$1" | yay -Sw --noconfirm --needed -' _ {} \;
1818
1919# Force the script to be executed from its directory (since init.sh move us to /tmp during yay installation)
2020cd " $SCRIPT_DIR " || exit
You can’t perform that action at this time.
0 commit comments