Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
David Brewer
committed
Jun 23, 2012
1 parent
a13313d
commit 22a42d6
Showing
2 changed files
with
44 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#!/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. | ||
# * 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 | ||
|
||
echo "Installing required packages..." | ||
sudo apt-get install xmonad libghc-xmonad-dev libghc-xmonad-contrib-dev xmobar xcompmgr nitrogen stalonetray moreutils synapse ssh-askpass-gnome thunar terminator remmina | ||
|
||
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 | ||
sudo cp ~/.xmonad/images/custom_xmonad_badge.png /usr/share/unity-greeter | ||
|
||
echo "Linking to customized gnome 2 configuration..." | ||
mv ~/.gtkrc-2.0 ~/gtkrc-2.0.original | ||
ln -s .xmonad/.gtkrc-2.0 ~/.gtkrc-2.0 | ||
|