conf2/wm/.xinitrc

32 lines
654 B
Plaintext
Raw Normal View History

2018-06-13 19:38:45 +00:00
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi
nvidia-settings --load-config-only &
eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)
export SSH_AUTH_SOCK
numlockx &
compton -b &
#config pad
2020-02-07 19:19:48 +00:00
xinput set-prop 13 323 1 &
xinput set-prop 13 307 1 &
# exec dbus-launch i3
2018-09-30 18:48:29 +00:00
case $1 in
i3 ) exec dbus-launch i3;;
* ) exec $1;;
esac
2018-06-13 19:38:45 +00:00
#exec openbox
# exec gnome-session
# exec startkde
# exec startxfce4
# ...or the Window Manager of your choice