1
0
mirror of https://gitlab.com/dbrw/ansible-setup.git synced 2025-08-04 15:35:41 +07:00
ansible-setup/roles/common/files/user_home/.xinitrc
2022-07-11 16:34:50 +07:00

11 lines
271 B
Bash

#!/bin/sh
# Import environemnt to systemd user session
systemctl --user import-environment DISPLAY XAUTHORITY PATH XDG_SESSION_ID
autorandr -c &
xss-lock -- /usr/local/bin/slock -m 'mantull!!' &
# Run graphical-session.target
systemctl --user start --wait xorg.target