ItsDrike
3b5ac91ae8
Only add ~/.local/bin to PATH if it exists
...
Without existence check, the `find` command prints a fail message to
stderr, and leaves stdout empty. This means only the prefix `:` is
appended to the `$PATH` variable.
Leaving a trailing `:` in `$PATH` is however something we really don't
want to be doing, as it makes the current directory get treated as a
part of `$PATH`.
While the `~/.local/bin` directory is generally going to exist, during
installation and in some other edge cases, it might not yet be there,
and we need to account for that.
2023-08-02 14:13:44 +02:00
ItsDrike
62912b75ba
Follow symlnks when adding ~/.local/bin dirs to PATH
2023-08-02 11:02:18 +02:00
ItsDrike
2da877dfba
Add glow package (CLI markdown renderer)
2023-08-02 02:31:46 +02:00
ItsDrike
fc45c3eb7a
Export ZOOTDIR from /etc/zsh/zshenv
2023-08-02 02:29:54 +02:00
ItsDrike
c4053d8496
Use the git version of xdg-ninja
2023-08-02 02:24:15 +02:00
ItsDrike
ccd5f28999
export XDG_STATE_HOME
2023-08-02 01:53:00 +02:00
ItsDrike
f0ce0a249d
Move .pki to data home (.local/share), not config
2023-08-02 01:49:08 +02:00
ItsDrike
3cc7ee31a8
Auto-install xdg-ninja
2023-08-02 01:46:55 +02:00
ItsDrike
fdc5d6108f
Set npm specific XDG base dir vars
2023-08-02 01:46:28 +02:00
ItsDrike
be2013e4d4
Set XDG vars for python
2023-08-02 01:45:32 +02:00
ItsDrike
08973fb001
Copy the ~/.mozilla symlink
2023-08-01 17:06:55 +02:00
ItsDrike
2391f389ca
Fix typos
2023-08-01 16:49:29 +02:00
ItsDrike
65f675cfdd
Fix typo
2023-08-01 15:16:05 +02:00
ItsDrike
722649b3a4
Also copy the dunst and eww configurations
2023-08-01 14:39:55 +02:00
ItsDrike
f29837c598
Remove xdg-desktop-portal-gnome if installed
2023-08-01 14:34:41 +02:00
ItsDrike
a56a2a4daa
Fix typo (railsmark -> ralismark github username)
2023-08-01 14:24:04 +02:00
ItsDrike
e2ae926dbc
Add tood on potential git pull
2023-08-01 14:19:35 +02:00
ItsDrike
c247c0fbab
Don't fail if hyprland-dwindlw-autogroup exists
2023-08-01 14:19:20 +02:00
ItsDrike
6a803b051a
Fix typo (don't run yay as root)
2023-08-01 14:16:23 +02:00
ItsDrike
6273223007
Fix typo (wrong cd directory)
2023-08-01 14:14:46 +02:00
ItsDrike
16546e3f34
Fix typo (| instead of || to ignore failures)
2023-08-01 14:13:26 +02:00
ItsDrike
ba4e46bdb3
Fix typo
2023-08-01 14:10:09 +02:00
ItsDrike
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
ItsDrike
6d327a133b
Override nodejs with nodejs-lts-gallium without user interaction
2023-08-01 13:45:33 +02:00
ItsDrike
fab6bdce66
Remove dooit-git
2023-08-01 13:35:58 +02:00
ItsDrike
32ed1b9a7d
Don't end the script if the repos were already cloned
2023-08-01 13:35:16 +02:00
ItsDrike
4c19890318
Checkout latest stable release of hyprland
2023-08-01 13:33:24 +02:00
ItsDrike
7801977c2e
Also install dwindle-autogroup hyprland plugin
2023-08-01 13:21:37 +02:00
ItsDrike
065c6cee0c
Also copy hyprland settings
2023-08-01 13:21:14 +02:00
ItsDrike
4091125515
Install pyenv python versions in user install script
2023-08-01 13:20:29 +02:00
ItsDrike
5bf0cd7267
Always sync and update before installing
2023-08-01 13:20:05 +02:00
ItsDrike
9e242c5f47
Don't needlessly reinstall pkgs in install scripts
2023-08-01 13:18:55 +02:00
ItsDrike
5f3d1fde5d
Add GUI installation script
2023-08-01 12:06:53 +02:00
ItsDrike
ac390b1d64
Update user install script
2023-08-01 12:05:16 +02:00
ItsDrike
64ad18c6f6
Fix typo in user install script
2023-08-01 10:24:44 +02:00
ItsDrike
60f8b7ec79
Add some footnotes to installation guide
2023-08-01 02:03:51 +02:00
ItsDrike
47429dddee
Add full arch installation guide
2023-08-01 01:54:02 +02:00
ItsDrike
b83e5b55a1
Use su -l on first login, for env vars like HOME
2023-07-31 22:23:06 +02:00
ItsDrike
c615c1368b
Add user installation script
2023-07-31 22:17:54 +02:00
ItsDrike
4488a65de5
Cd back to original dir after install_root.sh ends
2023-07-31 22:09:39 +02:00
ItsDrike
22d15d2093
Add quick run instructions
2023-07-31 22:04:51 +02:00
ItsDrike
03b4e74694
Rename install.sh to root_install.sh
2023-07-31 22:04:24 +02:00
ItsDrike
6ec7231174
Run pacman with --noconfirm for zsh install
2023-07-31 21:59:08 +02:00
ItsDrike
291ebd4f63
Add pkgfile
2023-07-31 21:58:52 +02:00
ItsDrike
a48d3a5502
Allow ~/.config already existing
2023-07-31 21:56:22 +02:00
ItsDrike
5f3e02b29c
Sync pacman repos after updating /etc/pacman.conf
2023-07-31 21:55:39 +02:00
ItsDrike
983d95c2a6
Make the install script executable
2023-07-31 21:53:59 +02:00
ItsDrike
52aabcdfb6
Add simple install script
2023-07-31 21:53:14 +02:00
ItsDrike
f21ddf9f5a
Add comments to sysctl overrides
2023-07-31 21:47:22 +02:00
ItsDrike
dbd7e017d3
Use DE instead of WM (hyprland shows with DE)
2023-07-23 02:00:54 +02:00