dotfiles/dunst/install.sh

20 lines
389 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-08 16:26:14 +00:00
DIR=$(dirname "$(readlink -f "$0")")
2020-11-02 04:08:18 +00:00
. "$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-08 16:26:14 +00:00
lnsf "$DIR/content/dunstrc" "$XDG_CONFIG_HOME/dunst/dunstrc"
sudo cp -f "$DIR/content/dunstctl" "$PREFIX/bin"
sudo chmod +x "$PREFIX/bin/dunstctl"