2015-07-08 17:48:51 +00:00
|
|
|
#!/bin/sh
|
2021-04-20 12:27:09 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2015-07-19 09:43:32 +00:00
|
|
|
xset -b
|
2020-07-09 11:17:21 +00:00
|
|
|
export PATH="${PATH}:/home/nemo/projects/scripts"
|
|
|
|
export GPG_TTY="$(tty)"
|
|
|
|
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
|
|
|
|
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
|
2021-04-20 12:27:09 +00:00
|
|
|
|
2020-05-07 10:36:04 +00:00
|
|
|
setxkbmap -option ctrl:nocaps
|
|
|
|
xmodmap -e 'clear lock'
|
|
|
|
xmodmap -e 'keycode 66 = Hyper_L'
|
2021-04-20 12:27:09 +00:00
|
|
|
|
2018-09-03 07:34:42 +00:00
|
|
|
export PATH="${PATH}:/home/nemo/projects/scripts"
|
2017-10-26 07:48:02 +00:00
|
|
|
dbus-update-activation-environment --systemd DISPLAY
|
2021-04-20 12:27:09 +00:00
|
|
|
|
2020-05-07 10:36:04 +00:00
|
|
|
exec i3
|
2021-04-20 12:27:09 +00:00
|
|
|
#wingpanel &
|
|
|
|
#plank &
|
|
|
|
#exec gala
|