mirror of
https://gitlab.com/dbrw/ansible-setup.git
synced 2025-08-04 10:25:44 +07:00
11 lines
271 B
Bash
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
|