-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathINSTALLER
executable file
·31 lines (23 loc) · 873 Bytes
/
INSTALLER
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!bash
#
# This file might be sourced during installation with hsadmin
#
if [ ! -e "${HOME}/.config/dunst/dunstrc" ]; then
mkdir -p "${HOME}/.config/dunst/" \
&& ln -fs "$(pwd)/.config-xmonad/dunstrc" "${HOME}/.config/dunst/"
fi
[ -e "${HOME}/.config/gtk-3.0" ] \
|| ln -fs "$(pwd)/.config-xmonad/gtk/gtk-3.0" "${HOME}/.config/"
[ -e "${HOME}/.themes" ] \
|| ln -fs "$(pwd)/.config-xmonad/gtk/themes" "${HOME}/.themes"
[ -e "${HOME}/.config/alacritty" ] \
|| ln -fs "$(pwd)/.config-xmonad/alacritty" "${HOME}/.config/alacritty"
# ln -fs "$(pwd)/.config-xmonad/fontconfig/fonts.conf" "${HOME}/.fonts.conf"
[ -e "${HOME}/.fonts.conf.d" ] \
|| ln -fs "$(pwd)/.config-xmonad/fontconfig/conf.d" "${HOME}/.fonts.conf.d"
go install ./cmd/...
(
create-alacritty-config
create-alacritty-config -os linux -host transwhale -out alacritty.transwhale
)
set +x