forked from davidbrewer/xmonad-ubuntu-conf
-
Notifications
You must be signed in to change notification settings - Fork 2
/
install-xmonad
executable file
·36 lines (31 loc) · 1.51 KB
/
install-xmonad
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
35
#!/bin/bash
#
# Installation script which setup up an Ubuntu Precise machine to use this
# xmonad configuration.
#
# WARNING!!!
# * This has only been tested on a limited number of machines running
# Ubuntu 12.04 64-bit, and #! Linux Waldorf 64-bit
# * This is not a sophisticated installation script by any stretch
# of the imagination.
# * I take no responsibility if this overwrites any configuration settings
# or otherwise messes up your system.
#
# Please review the readme file to find out exactly what it does and does not
# do. Or, visit the repository for more information:
# https://github.com/davidbrewer/xmonad-ubuntu-conf
#
# Author: David Brewer, with modifications by Jess Robertson
echo "Installing required packages..."
sudo apt-get install xmonad libghc-xmonad-dev libghc-xmonad-contrib-dev xmobar xcompmgr nitrogen moreutils synapse ssh-askpass-gnome thunar terminator remmina rxvt-unicode fonts-inconsolata
echo "Creating xmonad xsession configuration..."
sudo mv /usr/share/xsessions/xmonad.desktop /usr/share/xsessions/xmonad.desktop.original
sudo cp ~/.xmonad/xmonad.desktop /usr/share/xsessions
echo "Adding Crunchbangin config files"
mv ~/.config/terminator/config ~/.config/terminator/config-old
ln -s terminator-config ~/.config/terminator/config
mv ~/.config/nitrogen/bg-saved.cfg ~/.config/nitrogen/bg-saved.cfg-old
ln -s nitrogen-bg.cfg ~/.config/nitrogen/bg-saved.cfg
echo "Linking to customized gnome 2 configuration..."
mv ~/.gtkrc-2.0 ~/gtkrc-2.0.original
ln -s .xmonad/.gtkrc-2.0 ~/.gtkrc-2.0