Adjust some more things.

This commit is contained in:
the_4n0nym0u53 2021-12-24 01:16:07 +01:00
parent 8b4c1dbb42
commit 4a70ca8c2f
No known key found for this signature in database
GPG key ID: 35EE09F5481049BB
3 changed files with 16 additions and 13 deletions

View file

@ -13,11 +13,11 @@ $ chmod +x install.sh
$ ./install.sh $ ./install.sh
``` ```
This configuration depends on the following packages: This configuration depends on the following packages\*:
- `alacritty` - `alacritty`
- `artix-backgrounds` - `artix-backgrounds`
- `doas`\* - `doas`\*\*
- `git` - `git`
- `grimshot` - `grimshot`
- `ivpn` (daemon + CLI) - `ivpn` (daemon + CLI)
@ -36,7 +36,9 @@ This configuration depends on the following packages:
- `wl-clipboard` - `wl-clipboard`
- `zsh` - `zsh`
\* If you prefer `sudo`, then change all instances of `doas` to `sudo`. \* Feel free to change anything to your liking.
\*\* If you prefer `sudo`, then change all instances of `doas` to `sudo`.
Also, you need to make `doas`/`sudo` rules that allow you to execute `ivpn-service`, `poweroff`, `reboot` and `pkill ivpn-service` without a password, otherwise the keybindings and scripts for those won't work. Also, you need to make `doas`/`sudo` rules that allow you to execute `ivpn-service`, `poweroff`, `reboot` and `pkill ivpn-service` without a password, otherwise the keybindings and scripts for those won't work.

View file

@ -1,8 +1,9 @@
#!/bin/sh #!/bin/sh
echo -e "Configuring directories..." echo -e "Configuring directories..."
mkdir -p $HOME/.config/zsh # Symlink only the individual files instead of the entire directory
DOTDIR=$(cd -- "$(dirname -- $0)" &> /dev/null && pwd) DOTDIR=$(cd -- "$(dirname -- $0)" &> /dev/null && pwd)
ZDOTDIR="$HOME/.config/zsh"
mkdir -p $ZDOTDIR # Symlink only the individual files instead of the entire directory
sleep 0.5 sleep 0.5
echo -e "Creating the symlinks with stow..." echo -e "Creating the symlinks with stow..."

View file

@ -1,6 +1,6 @@
# PATH # PATH
export PATH="$PATH:$HOME/bin:$HOME/.local/bin" export PATH="$PATH:$HOME/bin:$HOME/.local/bin"
command -v go > /dev/null 2>&1 && export PATH="$PATH:$(go env GOPATH)" (( ${+commands[go]} )) && export PATH="$PATH:$(go env GOPATH)"
# Essentials # Essentials
export LANG="en_DK.UTF-8" export LANG="en_DK.UTF-8"
@ -8,4 +8,4 @@ export EDITOR="nvim"
export PAGER="more" export PAGER="more"
# Secret variables # Secret variables
[[ -f $HOME/.config/zsh/.env ]] && source $HOME/.config/zsh/.env [[ -f $ZDOTDIR/.env ]] && source $ZDOTDIR/.env