dotfiles/dunst/install.sh

19 lines
366 B
Bash
Raw Normal View History

2020-11-02 04:08:18 +00:00
#!/bin/sh
2020-09-17 16:02:24 +00:00
2020-11-02 04:08:18 +00:00
DIR=$(readlink -f "$(dirname "$0")")
. "$DIR/../env.sh"
2020-09-17 16:02:24 +00:00
# install nvim
case "$PM" in
apt)
sudo apt install -y dunst
;;
pacman)
2020-09-18 18:01:58 +00:00
sudo pacman -S --needed dunst
2020-09-17 16:02:24 +00:00
;;
esac
# symlink configuration
2020-11-02 04:08:18 +00:00
lnsf "$DIR/config/dunstrc" "$XDG_CONFIG_HOME/dunst/dunstrc"
lnsf "$DIR/config/launch.sh" "$XDG_CONFIG_HOME/dunst/launch.sh"