From 3372458f31ccaa65efb0f867a3e78b8bd1d8dad5 Mon Sep 17 00:00:00 2001 From: jonas Date: Sun, 28 Apr 2019 16:52:32 +0200 Subject: Installer xinitrc --- .xinitrc | 18 ++++++++++++++++++ install.sh | 9 +++++++++ 2 files changed, 27 insertions(+) create mode 100644 .xinitrc create mode 100755 install.sh 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 -- cgit v1.2.3