aboutsummaryrefslogtreecommitdiff
path: root/configs/xinitrc_msi
blob: cbe0635dd76da42bbac20319caf6a5ea7f569549 (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
#!/bin/sh

start-pulseaudio-x11

feh --bg-center ~/chai.jpg

# hide cursor when unused
unclutter -idle 3 -root &

# Turn CapsLock into Control
xmodmap -e "clear lock" -e "keycode 66 = Control_R" -e "add Control = Control_R"

# starting gpg daemon
gpg-agent --daemon --use-standard-socket

# activating xscreensaver
acpi -b | grep -qE 'Discharging'
if [ $? -ne 0 ]; then
  xscreensaver -nosplash &
fi

# akonadi server (kde4.* compat)
if [ -x /usr/bin/akonadi_agent_server ]; then
  akonadi_agent_server &
fi

# activate trickled network bandwith control
trickled

if [ -x /usr/bin/ck-launch-session ]; then
  exec ck-launch-session dbus-launch xmonad
else
  exec dbus-launch xmonad
fi