Created
November 21, 2011 09:41
-
-
Save pivaldi/1382160 to your computer and use it in GitHub Desktop.
My .xsession for launching XMonad
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
#!/bin/bash | |
xhost +local:root | |
setxkbmap -layout fr oss | |
xkbcomp -w 0 -R/usr/share/X11/xkb/ ~/.pi-keymap $DISPLAY | |
xrdb -load ~/.Xdefaults | |
export ALTERNATE_EDITOR="emacs" EDITOR="emacsclient" VISUAL="emacsclient " | |
export TEXTEDIT="$EDITOR" | |
export XDG_DATA_HOME="$HOME/.local/share/" | |
export XDG_CONFIG_HOME="$HOME/.config/" | |
export XDG_DATA_DIRS="/usr/local/share/:/usr/share/" | |
export XDG_CONFIG_DIRS="/etc/xdg/" | |
export XDG_CACHE_HOME="$HOME/.cache" | |
export WINDOW_MANAGER="/usr/bin/xmonad" | |
alias edit="$EDITOR" | |
xmonad & pidgnome=$! | |
pidof emacs || emacs & | |
pidof trayer || trayer --edge top --align center --SetDockType true --SetPartialStrut false --expand true --widthtype request --transparent true --alpha 0 --tint 0x000000 --height 15 --padding 3 & | |
pidof gnome-settings-daemon || gnome-settings-daemon & | |
pidof nm-applet || nm-applet & | |
conky -c ~/.conky.d/rc-msg && conky -c ~/.conky.d/rc-vert | |
# Télécharge les mises à jour sans les installer. | |
sudo /home/pi/bin/aug & | |
# Attend que XMonad finisse. | |
wait $pidgnome |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment