summaryrefslogtreecommitdiffstats
path: root/.xinitrc
diff options
context:
space:
mode:
authorEduardo Pedroni <e.pedroni91@gmail.com>2018-04-14 20:49:06 +0200
committerEduardo Pedroni <e.pedroni91@gmail.com>2018-04-14 20:49:06 +0200
commit366002c3e6c0263d287c7eb9030f648b7a2b3cbf (patch)
tree8d2d68dfcb5619e8aa07271eb4482d37b1747807 /.xinitrc
Initial commit
Diffstat (limited to '.xinitrc')
-rw-r--r--.xinitrc23
1 files changed, 23 insertions, 0 deletions
diff --git a/.xinitrc b/.xinitrc
new file mode 100644
index 0000000..1f69fdf
--- /dev/null
+++ b/.xinitrc
@@ -0,0 +1,23 @@
+#!/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
+
+[[ -f ~/.Xresources ]] && xrdb -merge ~/.Xresources
+
+initcfg
+
+numlockx &
+dwm-statusbar &
+xrandr --output HDMI-0 --left-of DP-4 --auto
+
+exec ~/projects/dwm/dwm
+