aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncaen <mail@duncano.de>2015-02-28 17:11:43 +0100
committerDuncaen <mail@duncano.de>2015-02-28 17:11:43 +0100
commit0f72e04a10b08bf95a68938a2e18d876f949bc0c (patch)
treea865124c223e1012dac33d3f5b11cd0ee16351df
parent3f0093d7b54144834ad44252279cb0c8fb9f2232 (diff)
downloaddotfiles-0f72e04a10b08bf95a68938a2e18d876f949bc0c.tar.gz
add xinitrc
-rw-r--r--xinitrc40
1 files changed, 40 insertions, 0 deletions
diff --git a/xinitrc b/xinitrc
new file mode 100644
index 0000000..56b49a5
--- /dev/null
+++ b/xinitrc
@@ -0,0 +1,40 @@
+#!/bin/sh
+#
+# ~/.xinitrc
+#
+# Executed by startx (run your window manager from here)
+
+if [ -d /etc/X11/xinit/xinitrc.d ]; then
+ for f in /etc/X11/xinit/xinitrc.d/*; do
+ [ -x "$f" ] && . "$f"
+ done
+ unset f
+fi
+
+# start pulseaudio -.-
+start-pulseaudio-x11 &
+
+# keyboard layout
+setxkbmap de &
+
+xset +fp ~/.fonts/ &
+xset +fp /usr/share/fonts/misc/ &
+xset fp rehash &
+
+# nobeep
+xset -b
+
+xrandr --dpi 92 &
+
+# hide cursor
+unclutter -root -visible -jitter 10 -idle 5 &
+
+# statusbar
+repos/go-dwmstatus/go-dwmstatus &
+
+while true; do
+ # Full logging
+ #dwm 2> ~/log/dwm.log
+ # No logging
+ dwm >/dev/null 2>&1
+done