mirror of https://github.com/captn3m0/dotfiles.git
update xinitrc
This commit is contained in:
parent
68ac5b067f
commit
6ea81d1f7c
|
@ -1,5 +1,37 @@
|
|||
#!/bin/sh
|
||||
xrdb ~/.Xresources
|
||||
|
||||
userresources=$HOME/.Xresources
|
||||
usermodmap=$HOME/.Xmodmap
|
||||
sysresources=/etc/X11/xinit/.Xresources
|
||||
sysmodmap=/etc/X11/xinit/.Xmodmap
|
||||
|
||||
# merge in defaults and keymaps
|
||||
|
||||
if [ -f $sysresources ]; then
|
||||
xrdb -merge $sysresources
|
||||
fi
|
||||
|
||||
if [ -f $sysmodmap ]; then
|
||||
xmodmap $sysmodmap
|
||||
fi
|
||||
|
||||
if [ -f "$userresources" ]; then
|
||||
xrdb -merge "$userresources"
|
||||
fi
|
||||
|
||||
if [ -f "$usermodmap" ]; then
|
||||
xmodmap "$usermodmap"
|
||||
fi
|
||||
|
||||
# start some nice programs
|
||||
|
||||
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
|
||||
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
|
||||
[ -x "$f" ] && . "$f"
|
||||
done
|
||||
unset f
|
||||
fi
|
||||
|
||||
xset -b
|
||||
export PATH="${PATH}:/home/nemo/projects/scripts"
|
||||
export GPG_TTY="$(tty)"
|
||||
|
@ -8,9 +40,15 @@ export LC_TIME=en_IN.UTF-8
|
|||
export LC_ALL=en_IN.UTF-8
|
||||
export LANG=en_IN.UTF-8
|
||||
export LC_COLLATE=en_IN.UTF-8
|
||||
|
||||
setxkbmap -option ctrl:nocaps
|
||||
xmodmap -e 'clear lock'
|
||||
xmodmap -e 'keycode 66 = Hyper_L'
|
||||
|
||||
export PATH="${PATH}:/home/nemo/projects/scripts"
|
||||
dbus-update-activation-environment --systemd DISPLAY
|
||||
|
||||
exec i3
|
||||
#wingpanel &
|
||||
#plank &
|
||||
#exec gala
|
||||
|
|
Loading…
Reference in New Issue