Collin Doering
ea4bbc3385
Added clojure support to emacs (requires aur/emacs-clojure-mode-git, clojure, aur/clojure-contrib-git, aur/swank-clojure-git, maven) Added path for maven (required for building clojure-contrib-git from the aur) Starting to refine use of git..Now have seperate projects for each system and a generic git tree to start from
58 lines
1.2 KiB
Bash
58 lines
1.2 KiB
Bash
#!/bin/sh
|
|
#
|
|
# ~/.xinitrc
|
|
#
|
|
# Executed by startx (run your window manager from here)
|
|
|
|
# GENERIC #
|
|
|
|
# Set the default curson used by xmonad
|
|
xsetroot -cursor_name left_ptr
|
|
|
|
# Start xscreensaver
|
|
xscreensaver -no-splash &
|
|
|
|
# Set a desktop background
|
|
nitrogen --restore &
|
|
|
|
# Have mouse pointer hide after 5 seconds
|
|
unclutter &
|
|
|
|
# Setup system tray
|
|
trayer --edge top --align right --SetDockType true --SetPartialStrut true --expand true --width 4 --height 2 --transparent true --tint 0x000000 &
|
|
|
|
# Use xbindkeys to bind media keys etc..
|
|
xbindkeys &
|
|
|
|
# Start-up applications
|
|
parcellite &
|
|
emacs --daemon &
|
|
xcompmgr &
|
|
|
|
# Create variable GENERAL_SCREEN which is the pid of a screen called "general"
|
|
export GENERAL_SCREEN=`screen -ls | grep general | cut -f1 -d'.' | sed 's/\W//g'`
|
|
|
|
# Check to see if a general screen is already running
|
|
if [ "x$GENERAL_SCREEN" == "x" ]; then
|
|
screen -dmS general &
|
|
fi
|
|
|
|
# Set the default session to xmonad
|
|
DEFAULT_SESSION=xmonad
|
|
|
|
# Check the given parameter from slim to determine the session being requested by slim/the user
|
|
case $1 in
|
|
xmonad)
|
|
exec xmonad
|
|
;;
|
|
openbox)
|
|
exec ck-launch-session openbox
|
|
;;
|
|
stumpwm)
|
|
exec stumpwm
|
|
;;
|
|
*)
|
|
exec $DEFAULT_SESSION
|
|
;;
|
|
esac
|