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
```
This configuration depends on the following packages:
This configuration depends on the following packages\*:
- `alacritty`
- `artix-backgrounds`
- `doas`\*
- `doas`\*\*
- `git`
- `grimshot`
- `ivpn` (daemon + CLI)
@ -36,7 +36,9 @@ This configuration depends on the following packages:
- `wl-clipboard`
- `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.

View File

@ -1,20 +1,21 @@
#!/bin/sh
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)
ZDOTDIR="$HOME/.config/zsh"
mkdir -p $ZDOTDIR # Symlink only the individual files instead of the entire directory
sleep 0.5
echo -e "Creating the symlinks with stow..."
stow -d $DOTDIR -t $HOME alacritty \
mako \
nvim \
scripts \
sway \
swaylock \
waybar \
zsh
mako \
nvim \
scripts \
sway \
swaylock \
waybar \
zsh
sleep 0.5
echo -e "Making scripts executable..."

View File

@ -1,6 +1,6 @@
# PATH
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
export LANG="en_DK.UTF-8"
@ -8,4 +8,4 @@ export EDITOR="nvim"
export PAGER="more"
# Secret variables
[[ -f $HOME/.config/zsh/.env ]] && source $HOME/.config/zsh/.env
[[ -f $ZDOTDIR/.env ]] && source $ZDOTDIR/.env