Commit graph

12 commits

Author SHA1 Message Date
16546e3f34 Fix typo (| instead of || to ignore failures) 2023-08-01 14:13:26 +02:00
ba4e46bdb3 Fix typo 2023-08-01 14:10:09 +02:00
35dcf5ffa0 Use echo "y" instead of yes to avoid SIGPIPE
When using the `yes` command and piping it's output to pacman, it will
confirm the y/n question, however it will then keep running after pacman
ends, as it didn't sent an EOF back. Once that happens, as yes will try
to write more output after pacman process ended, the pipeline breaks,
making the process receive a `SIGPIPE` signal, which causes `yes` to
end.

This would normally be fine, however since we're using `set -euo
pipefail`, this signal causes the whole script to end with code 141. To
avoid this, as we know only a single confirmation will be needed here,
we use echo instead of yes, only supplying one "y" to pacman.
2023-08-01 14:03:13 +02:00
6d327a133b Override nodejs with nodejs-lts-gallium without user interaction 2023-08-01 13:45:33 +02:00
fab6bdce66 Remove dooit-git 2023-08-01 13:35:58 +02:00
32ed1b9a7d Don't end the script if the repos were already cloned 2023-08-01 13:35:16 +02:00
4c19890318 Checkout latest stable release of hyprland 2023-08-01 13:33:24 +02:00
7801977c2e Also install dwindle-autogroup hyprland plugin 2023-08-01 13:21:37 +02:00
065c6cee0c Also copy hyprland settings 2023-08-01 13:21:14 +02:00
5bf0cd7267 Always sync and update before installing 2023-08-01 13:20:05 +02:00
9e242c5f47 Don't needlessly reinstall pkgs in install scripts 2023-08-01 13:18:55 +02:00
5f3d1fde5d Add GUI installation script 2023-08-01 12:06:53 +02:00