all repos — dotfiles @ 41fc0da980f7e6349236912f33de94a5f9590a7f

linux dotfiles

Add .xinitrc .xprofile
Prithu Goswami prithugoswami524@gmail.com
Fri, 30 Aug 2019 07:23:11 +0530
commit

41fc0da980f7e6349236912f33de94a5f9590a7f

parent

751e1c227fd6f70e1ba6373eea28d99bd88e71df

2 files changed, 43 insertions(+), 0 deletions(-)

jump to
A .xinitrc

@@ -0,0 +1,38 @@

+#!/bin/sh + +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 + + +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 + +[ -f ~/.xprofile ] && . ~/.xprofile + +exec i3
A .xprofile

@@ -0,0 +1,5 @@

+#xset r rate 250 50 + +#setxkbmap -layout us,in -option "grp:alt_caps_toggle" + +clipmenud &