Browse Source

Add stuff for ubuntu setup

Taylor Bockman 8 years ago
parent
commit
c5e8ad723a
  1. BIN
      backgrounds/blue-black-lines.jpg
  2. BIN
      backgrounds/dark-forest.jpg
  3. BIN
      backgrounds/dark-mesh.jpg
  4. 8
      dotfiles/xinitrc
  5. BIN
      dotfiles/xmonad/lib/Bar.o
  6. BIN
      dotfiles/xmonad/lib/PerWorkspaceDirs.hi
  7. BIN
      dotfiles/xmonad/lib/PerWorkspaceDirs.o
  8. BIN
      dotfiles/xmonad/lib/Spacing.hi
  9. BIN
      dotfiles/xmonad/lib/Spacing.o
  10. BIN
      dotfiles/xmonad/lib/XMonad/Layout/BinarySpacePartition.hi
  11. BIN
      dotfiles/xmonad/lib/XMonad/Layout/BinarySpacePartition.o
  12. BIN
      dotfiles/xmonad/xmonad-x86_64-linux
  13. BIN
      dotfiles/xmonad/xmonad.hi
  14. 2
      dotfiles/xmonad/xmonad.hs
  15. BIN
      dotfiles/xmonad/xmonad.o
  16. 15
      dotfiles/zshrc
  17. 2
      scripts/lemonbar/bar_start.sh
  18. 2
      scripts/lemonbar/final_bar.sh
  19. 3
      scripts/lemonbar/my_bar.sh
  20. 2
      scripts/sysinit/xmonad_start.sh
  21. 54
      ubuntu/installer.sh

BIN
backgrounds/blue-black-lines.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 451 KiB

BIN
backgrounds/dark-forest.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 424 KiB

BIN
backgrounds/dark-mesh.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

8
dotfiles/xinitrc

@ -1,10 +1,8 @@
#!/bin/sh
xrdb ~/.Xresources
# zsh ~/.fehbg &
# exec ~/essentials/scripts/sysinit/xmonad_start.sh
# exec awesome
feh --bg-scale ~/essentials/backgrounds/glass-blue-bg.jpg
compton --config ~/.compton.conf
feh --bg-scale ~/essentials/backgrounds/dark-forest.jpg
xmodmap -e 'clear Lock'
xmodmap -e 'keycode 0x42=Escape'
exec i3
exec ~/essentials/scripts/sysinit/xmonad_start.sh

BIN
dotfiles/xmonad/lib/Bar.o

Binary file not shown.

BIN
dotfiles/xmonad/lib/PerWorkspaceDirs.hi

Binary file not shown.

BIN
dotfiles/xmonad/lib/PerWorkspaceDirs.o

Binary file not shown.

BIN
dotfiles/xmonad/lib/Spacing.hi

Binary file not shown.

BIN
dotfiles/xmonad/lib/Spacing.o

Binary file not shown.

BIN
dotfiles/xmonad/lib/XMonad/Layout/BinarySpacePartition.hi

Binary file not shown.

BIN
dotfiles/xmonad/lib/XMonad/Layout/BinarySpacePartition.o

Binary file not shown.

BIN
dotfiles/xmonad/xmonad-x86_64-linux

Binary file not shown.

BIN
dotfiles/xmonad/xmonad.hi

Binary file not shown.

2
dotfiles/xmonad/xmonad.hs

@ -161,7 +161,7 @@ scratchpads = [ NS "htop" "urxvt -name htop -e htop" (resource =? "htop") defaul
-- Spawn pipes and menus on boot, set default settings
--------------------------------------------------------------------------------------------------------------------
myXmonadBar :: String
myXmonadBar = "lemonbar -f \"Inconsolata:medium:pixelsize=12\" -B \"black\" | bash"
myXmonadBar = "lemonbar -f \"inconsolata 12\" -B \"#1f1f1f\" | bash"
restartXmonad = "killall lemonbar; cd ~/.xmonad; ghc -threaded xmonad.hs; mv xmonad xmonad-x86_64-linux; xmonad --restart;"

BIN
dotfiles/xmonad/xmonad.o

Binary file not shown.

15
dotfiles/zshrc

@ -1,5 +1,4 @@
#Portable across both mac and linux now
export ZSH=~/.oh-my-zsh
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
if [[ "$OSTYPE" == "linux-gnu" ]]; then
@ -13,19 +12,7 @@ elif [[ "$OSTYPE" == "darwin"* ]]; then
fi
export EDITOR="$VISUAL"
export ITERM_24BIT=1
export TERM=rxvt-256color
# Colors get weird with Emacs in urxvt. I use urxvt on Linux
# so I need to export rxvt-256color and copy the rxvt-256color terminfo
# to the right location (see package installer for details).
# This will need to be changed if you use a different terminal emulator.
#
# Currently disabled to test automatic terminal detection
#if [[ "$OSTYPE" == "linux-gnu" ]]; then
# export TERM=rxvt-256color
#else
# export TERM=xterm-256color
#fi
export TERM=xterm-256color
alias emacs='emacs -nw'
alias irssi='TERM=screen-256color irssi'

2
scripts/lemonbar/bar_start.sh

@ -1,2 +1,4 @@
#!/bin/bash
sleep 1
~/essentials/scripts/lemonbar/final_bar.sh | ~/essentials/scripts/lemonbar/my_bar.sh | bash

2
scripts/lemonbar/final_bar.sh

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
#
# z3bra - (c) wtfpl 2014
# Fetch infos on your computer, and print them to stdout every second.

3
scripts/lemonbar/my_bar.sh

@ -1,2 +1 @@
back="#00000000"
lemonbar -f "Inconsolata:medium:pixelsize=12" -B "black" -g "800x14+1118+1"
lemonbar -B "#1f1f1f" -g "800x14+1118+1"

2
scripts/sysinit/xmonad_start.sh

@ -17,5 +17,5 @@ xset r rate 300 30
unclutter -grab &
tmux start-server
pulseaudio -D
wmname LG3D
wmname compton
xmonad

54
ubuntu/installer.sh

@ -6,6 +6,7 @@ echo "======== UBUNTU AUTO-INSTALL SCRIPT ========"
echo "Running pre-setup..."
sudo add-apt-repository ppa:neovim-ppa/unstable
sudo apt-add-repository -y "deb http://repository.spotify.com stable non-free"
sudo apt-add-repository -y ppa:richardgv/compton
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys D2C19886
sudo apt-get -qq -y update
sudo apt-get -qq -y upgrade
@ -13,7 +14,23 @@ sudo apt-get -qq -y upgrade
# Window Manager
echo "Installing window manager..."
sudo apt-get -qq -y install xmonad
sudo apt-get -qq -y install compton
sudo apt-get -qq -y install libghc-xmonad-contrib-dev
sudo apt-get -qq -y install xorg
sudo apt-get -qq -y install xinit
sudo apt-get -qq -y install wmname
sudo apt-get -qq -y install libxcb-xinerama0-dev
sudo apt-get -qq -y install libxcb-randr0-dev
# Build and install lemonbar from source
echo "Installing lemonbar from source"
pushd
cd ~
git clone https://github.com/LemonBoy/bar.git
cd bar/
make
sudo make install
popd
# Dmenu
echo "Installing Dmenu..."
@ -21,9 +38,9 @@ sudo apt-get -qq -y install suckless-tools
# Languages
echo "Installing languages..."
sudo apt-get -qq -y install python-dev
sudo apt-get -qq -y install python-pip
sudo apt-get -qq -y install python3-dev
sudo apt-get -qq -y install python-dev
sudo apt-get -qq -y install python-pip
sudo apt-get -qq -y install python3-dev
sudo apt-get -qq -y install python3-pip
# Editors
@ -31,6 +48,17 @@ echo "Installing editors..."
sudo apt-get -qq -y install vim
sudo apt-get -qq -y install neovim
# Terminals
echo "Installing terminal..."
sudo apt-get -qq -y rxvt-unicode
# Shell
echo "Installing shells..."
sudo apt-get -qq -y install zsh
echo "Changing shell to zsh..."
chsh -s $(which zsh)
# Source Control
echo "Installing source control..."
sudo apt-get -qq -y install git
@ -50,11 +78,28 @@ echo "Installing tools..."
sudo apt-get -qq -y install transmission
sudo apt-get -qq -y install htop
sudo apt-get -qq -y install scrot
sudo apt-get -qq -y install tmux
sudo apt-get -qq -y install feh
sudo apt-get -qq -y install unclutter
sudo apt-get -qq -y install xdotool
sudo apt-get -qq -y install cmake
sudo apt-get -qq -y install gsimplecal
sudo apt-get -qq -y install xclip
# Comms
echo "Installing comms..."
sudo apt-get -qq -y install irssi
sudo apt-get -qq -y install skype
# Browsers
echo "Installing browsers..."
sudo apt-get -qq -y install chromium-browser
# Fonts
echo "Installing fonts..."
sudo apt-get -qq -y install fonts-inconsolata
fc-cache --really-force -v
# Cleanup
echo "Cleaning up unneccessary programs..."
sudo apt-get -qq -y purge firefox
@ -70,6 +115,9 @@ sudo apt-get -qq -y purge mahjongg
sudo apt-get -qq -y purge gnomine
sudo apt-get -qq -y purge ace-of-penguins
sudo apt-get -qq -y purge onboard
sudo apt-get -qq -y purge lightdm
sudo apt-get -qq -y purge gnome-terminal
sudo apt-get -qq -y purge gnome-terminal-data
sudo apt -qq -y autoremove
echo "!!! DONE INSTALLING !!!"

Loading…
Cancel
Save