Add .bashrc and .xinitrc

This commit is contained in:
kuben
2019-07-08 19:40:50 +02:00
parent 554573c69b
commit 5f25c94fc4
2 changed files with 53 additions and 0 deletions

15
.bashrc Executable file
View File

@@ -0,0 +1,15 @@
#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
alias ls='ls --color=auto'
PS1='[\u@\h \W]\$ '
export EDITOR="vim"
export CUPS_GSSSERVICENAME=HTTP
export PATH=$PATH:/home/kuba/bin
export PATH="$HOME/git/esp-open-sdk/xtensa-lx106-elf/bin/:$PATH"
alias dotfiles="/usr/bin/git --git-dir=$HOME/.dotfiles.git --work-tree=$HOME"
xhost +local:kuba > /dev/null

38
.xinitrc Executable file
View File

@@ -0,0 +1,38 @@
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
WM=i3
if (( $# == 1 ))
then
WM=$1
fi
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi
export EDITOR="vim"
export CUPS_GSSSERVICENAME=HTTP
#srandrd conkyshit/displays
[[ -f ~/.Xresources ]] && xrdb -merge ~/.Xresources
volnoti &
#xxkb &
owncloud &
# exec gnome-session
# exec startkde
# exec startxfce4
#exec kdm
# ...or the Window Manager of your choice
rm ~/.i3.log.old
mv ~/.i3.log ~/.i3.log.old
rm ~/.i3.log
#exec $WM -d all -V >> ~/.i3.log
exec $WM >> ~/.i3.log