summaryrefslogtreecommitdiffstats
path: root/.xinitrc
blob: 242e7f49ea4e9f7aeeafc8469aba88a4b250adfd (plain)
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
#_ Modify keys
xmodmap ~/.Xmodmap
#_ Start some programs
xsetroot -solid "#002b36"
numlockx &
emacs --daemon &
xbindkeys &
#_. mpdscribble
pidof mpdscribble >& /dev/null
if [ $? -ne 0 ]
then
    mpdscribble &
fi
#_. mpdnotify
mpc idleloop player | { while read; do notify-send "`mpc current`"; done } &
#_. rootname
while true; do
    xsetroot -name "`/home/slash/.rootname.scm`"
    sleep 1m
done &
#_ Start notifier
x=0
width=1920
height=12
y=0
/usr/bin/dunst \
    -fn "-misc-tamsyn-medium-r-normal-*-14-*-*-*-*-*-iso8859-*" \
    -nb "#002b36" -nf "#657b83" -to 5
    -geometry "${width}x${height}+${x}+${y}" &
#_ Start session
exec ck-launch-session /usr/bin/herbstluftwm 2>&1 >> ~/.xsession_errors
exec ck-launch-session /usr/local/bin/dwm 2>&1 >> ~/.xsession_errors
#_ Local Variables
# Local Variables:
# mode: shell-script
# eval: (git-auto-commit-mode 1)
# eval: (allout-mode 1)
# End: