#!/bin/sh

# /etc/X11/xinit/xinitrc
#
# global xinitrc file, used by all X sessions started by xinit (startx)

# invoke global X session script
#. /etc/X11/Xsession

# load .Xresources
xrdb -merge ~/.config/X11/Xresources

# remap F- and function keys
#xmodmap ~./.Xmodmap

# fix potential problem with DISPLAY environment variable not correctly set
# when not using a display manager
systemctl --user import-environment DISPLAY

#gnome keyring
#dbus-Zeile ermöglichte erst den Zugriff auf den keyring
eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)
export SSH_AUTH_SOCK
dbus-update-activation-environment --systemd DISPLAY
#compton &
# see https://github.com/yshui/compton
#/opt/compton --config /home/marc/.config/compton.conf.yshui &

export _JAVA_AWT_WM_NONREPARENTING=1

exec bspwm
#exec openbox-session
#exec awesome