dotfiles/README.md

29 lines
1.3 KiB
Markdown
Raw Normal View History

2021-10-02 20:59:11 +00:00
# My dotfiles
2022-01-26 13:42:41 +00:00
This is a collection of some of my dotfiles for my Linux systems. I personally use these on Artix, Fedora, Ubuntu and Termux (Android).
2021-10-02 20:59:11 +00:00
2022-01-26 13:42:41 +00:00
To install:
2021-10-02 20:59:11 +00:00
```bash
$ git clone https://github.com/theanonymousexyz/dotfiles.git
$ cd dotfiles
$ chmod +x artix-install.sh
2022-01-26 13:42:41 +00:00
$ ./artix-install.sh # For Artix
$ ./fedora-install.sh # For Fedora
$ ./termux-install # For Termux
$ ./ubuntu-install.sh # For Ubuntu
2021-10-02 20:59:11 +00:00
```
2022-01-26 13:42:41 +00:00
Note that I use `doas` instead of `sudo` (only on Artix). If you prefer `sudo`, then change all instances of `doas` to `sudo`, or simply create a symlink `doas` pointing to `sudo`:
2021-10-02 20:59:11 +00:00
2021-12-30 14:38:46 +00:00
```bash
sudo ln -s $(which sudo) /usr/bin/doas
```
2021-10-02 20:59:11 +00:00
2021-12-30 14:38:46 +00:00
**Notes:**
- You need to make `doas`/`sudo` rules that allow you to execute, `poweroff` and `reboot` (and additionally `ivpn-service` and `pkill "^ivpn-service$"` if you use IVPN) without a password, otherwise the keybindings and scripts for those won't work.
- The install script requires GNU Stow to work.
- Make sure to thoroughly examine these dotfiles and change them to your needs before using them.
- See the READMEs in the individual subfolders here for special notes.
- I use `dash` instead of `sh` or `bash` for my shell scripts. As such, all my scripts try to be as POSIX compliant as possible. If you don't want to use `dash`, you can change the shebang in the scripts to `#!/bin/sh` or `#!/bin/bash`.