forked from GoGoGadgetRepo/ArchInstallMBP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
xmonad.sh
executable file
·34 lines (25 loc) · 968 Bytes
/
xmonad.sh
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
32
33
34
#!/usr/bin/sh
# Defining the shell path and global variables
SHELL_PATH=$(readlink -f $0 | xargs dirname)
source ${SHELL_PATH}/bin/global.sh
info "Setting up X11"
install ${SHELL_PATH}/data/xorg.list
info "Setting up Xmonad"
install ${SHELL_PATH}/data/xmonad.list
info "Setting up My Applications"
install ${SHELL_PATH}/data/myapps.list
info "Setting up Fonts"
install ${SHELL_PATH}/data/myfonts.list
info "XOrg Configuration"
ln -s ${SHELL_PATH}/config/xorg/.Xauthority $HOME/.Xauthority
ln -s ${SHELL_PATH}/config/xorg/.xinitrc $HOME/.xinitrc
info "Alacrity Configuration"
ln -s ${SHELL_PATH}/config/alacritty $HOME/.config/
info "Automatic Brightness Control"
sudo cp ${SHELL_PATH}/scripts/abc /usr/bin
info "Xmonand Configuration"
mkdir -p $HOME/.xmonad
ln -s ${SHELL_PATH}/config/xmonad/xmonad.hs $HOME/.xmonad/xmonad.hs
info "Xmobar Configuration"
mkdir -p $HOME/.config/xmobar
ln -s ${SHELL_PATH}/config/xmobar/xmobarrc $HOME/.config/xmobar/xmobarrc