aboutsummaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authortoni <toni@devlap.local>2014-11-25 14:22:42 +0100
committertoni <toni@devlap.local>2014-11-25 14:22:42 +0100
commit6d5e06e725bf85fd5039619b342bc7491d563c70 (patch)
tree1fb4de079145a23794a73b44d2035522f6ca4838 /configs
parent2e711ffd257dd2ef1d40dbc30b74a30f48637911 (diff)
- msi xinitrc
Diffstat (limited to 'configs')
-rw-r--r--configs/xinitrc_msi34
1 files changed, 34 insertions, 0 deletions
diff --git a/configs/xinitrc_msi b/configs/xinitrc_msi
new file mode 100644
index 0000000..cbe0635
--- /dev/null
+++ b/configs/xinitrc_msi
@@ -0,0 +1,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