-
Notifications
You must be signed in to change notification settings - Fork 0
/
.xsession
70 lines (56 loc) · 1.49 KB
/
.xsession
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#!/bin/sh
# I source my profile since that's where I mount my user-specified disks
[ -e $HOME/.profile ] && . $HOME/.profile
##- Variables -
if [ -f $HOME/.Xresources ] ; then
xrdb -load .Xresources
fi
#export OOO_FORCE_DESKTOP=gnome
#export GTK_IM_MODULE=ibus
#export XMODIFIERS=@im=ibus
#export QT_IM_MODULE=ibus
MY_TERM=my-term
#- X Server -
xset b 0
xset m 9/6 0
xscreensaver -no-splash &
autocutsel &
if [ -f $HOME/.Xresources ] ; then
xrdb -load .Xresources
fi
gnome-keyring-daemon -s
if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
eval `dbus-launch --sh-syntax --exit-with-session`
fi
# Connect to a wireless access point
#$HOME/bin/wifi_connect.sh --auto &
#ibus-daemon &
#- Desktop -
$HOME/.fehbg
#xcompmgr -n -o .1 -f -O .027 -D 2 &
##- Autostart Applications -
##firefox &
#sleep 2 && $MY_TERM -e irssi &
# show my notes on the last desktop
#sleep 2 && keepnote &
# disable touchpad on when typing
xmodmap ~/.xmodmap
synclient VertScrollDelta=-112 VertEdgeScroll=1 HorizEdgeScroll=1 TouchpadOff=0 TapButton1=1 RTCornerButton=2
syndaemon -d -i .3 -K -R &
numlockx on
vgareset
map-wacom-on-connect &
set-wacom-keys-on-connect &
# pretty notifications
#twmnd &
nohup battery_status.sh &
WMNAME=xmonad
PATH=$PATH:$HOME/.cabal/bin
(sleep 2 && xmobar .xmobarrc_) &
xmobar_vol.sh Master &
xmms2-string.rb &
xmonoti &
OUT="/tmp/${USER}-dynamic-log-pipe"
mkfifo -m 0700 "$OUT" || echo "couldn't make the pipe!" >&2
(sleep 2 && xmobar < $OUT) &
exec $WMNAME > "$OUT"