Add some variables

This commit is contained in:
krisdoodle45 2021-10-14 20:44:40 +02:00 committed by GitHub
parent 163738e6ad
commit 64f31bf86c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,13 +1,16 @@
#!/bin/bash #!/bin/bash
dunstconf="${HOME}/.config/dunst/dunstrc"
zathuraconf="${HOME}/.config/zathura/zathurarc"
source "${HOME}/.cache/wal/colors.sh" source "${HOME}/.cache/wal/colors.sh"
mkdir -p "${HOME}/.config/dunst" mkdir -p "$dunstconf"
mkdir -p "${HOME}/.config/zathura" mkdir -p "$zathuraconf"
mv -n "${HOME}/.config/dunst/dunstrc" "${HOME}/.config/dunst/dunstrc.bak" mv -n "$dunstconf" "$dunstconf.bak"
mv -n "${HOME}/.config/zathura/zathurarc" "${HOME}/.config/zathura/zathurarc.bak" mv -n "$zathuraconf" "$zathuraconf.bak"
ln -sf "${HOME}/.cache/wal/dunstrc" "${HOME}/.config/dunst/dunstrc" ln -sf "${HOME}/.cache/wal/dunstrc" "$dunstconf"
ln -sf "${HOME}/.cache/wal/zathurarc" "${HOME}/.config/zathura/zathurarc" ln -sf "${HOME}/.cache/wal/zathurarc" "$zathuraconf"
fix_sequences() { fix_sequences() {
e=$'\e' e=$'\e'