Adjust some more things.
This commit is contained in:
parent
8b4c1dbb42
commit
4a70ca8c2f
|
@ -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.
|
||||||
|
|
||||||
|
|
17
install.sh
17
install.sh
|
@ -1,20 +1,21 @@
|
||||||
#!/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..."
|
||||||
|
|
||||||
stow -d $DOTDIR -t $HOME alacritty \
|
stow -d $DOTDIR -t $HOME alacritty \
|
||||||
mako \
|
mako \
|
||||||
nvim \
|
nvim \
|
||||||
scripts \
|
scripts \
|
||||||
sway \
|
sway \
|
||||||
swaylock \
|
swaylock \
|
||||||
waybar \
|
waybar \
|
||||||
zsh
|
zsh
|
||||||
|
|
||||||
sleep 0.5
|
sleep 0.5
|
||||||
echo -e "Making scripts executable..."
|
echo -e "Making scripts executable..."
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue