summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar jonas <himself@jonasgunz.de> 2019-04-28 16:52:32 +0200
committerGravatar jonas <himself@jonasgunz.de> 2019-04-28 16:52:32 +0200
commit3372458f31ccaa65efb0f867a3e78b8bd1d8dad5 (patch)
tree48ca01ee10edaa2823dbb678591ed4fd6a9b5e48
parente666aa11124981c661702bcca8fad450d7e94e75 (diff)
downloaddotfiles-3372458f31ccaa65efb0f867a3e78b8bd1d8dad5.tar.gz
Installer xinitrc
-rw-r--r--.xinitrc18
-rwxr-xr-xinstall.sh9
2 files changed, 27 insertions, 0 deletions
diff --git a/.xinitrc b/.xinitrc
new file mode 100644
index 0000000..0e46f5a
--- /dev/null
+++ b/.xinitrc
@@ -0,0 +1,18 @@
+#!/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
+
+# exec gnome-session
+#exec startkde
+exec i3
+# exec startxfce4
+# ...or the Window Manager of your choice
diff --git a/install.sh b/install.sh
new file mode 100755
index 0000000..73c3a62
--- /dev/null
+++ b/install.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+mv ~/.config/i3/ ~/.config/i3.old
+mv ~/.vim ~/.vim.old
+mv ~/.xinitrc ~/.xinitrc.old
+
+ln -s $(pwd)/.vim ~/.vim
+ln -s $(pwd)/.i3 ~/.i3
+ln -s $(pwd)/.xinitrc ~/.xinitrc