diff options
author | Thanos Apollo <[email protected]> | 2022-08-04 23:30:36 +0300 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2022-08-04 23:30:36 +0300 |
commit | 8bbdab253c50480802bc7d568774454f67150c65 (patch) | |
tree | c9791f1a1c19bbb7530c84f5a874e8a344d87aa4 /.xinitrc | |
parent | 4ddb7273098bee179bb77e0937e560fc0100960c (diff) |
add xinit
Diffstat (limited to '.xinitrc')
-rw-r--r-- | .xinitrc | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/.xinitrc b/.xinitrc new file mode 100644 index 0000000..5101935 --- /dev/null +++ b/.xinitrc @@ -0,0 +1,48 @@ +#!/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 + +# start some nice programs + + +nitrogen --restore & +picom & +exec /usr/bin/qtile start |