templier-ansible/roles/xorg/templates/xinitrc.j2

15 lines
374 B
Django/Jinja

{{ ansible_header | comment }}
eval $(/usr/bin/gnome-keyring-daemon --start --components=gpg,pkcs11,secrets,ssh)
export $(gnome-keyring-daemon --start --components=pkcs11,secrets,ssh,gpg)
dbus-update-activation-environment --systemd DISPLAY
setxkbmap fr oss
xss-lock -- physlock -d &
autorandr --change
{% if laptop.gpu %}
exec prime-run i3
{% else %}
exec i3
{% endif %}