mirror of
https://gitlab.com/dbrw/ansible-setup.git
synced 2026-02-06 03:05:32 +07:00
add docker task
This commit is contained in:
@@ -3,5 +3,8 @@
|
||||
# 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
|
||||
|
||||
6
roles/common/files/user_home/.zlogin
Normal file
6
roles/common/files/user_home/.zlogin
Normal file
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Run X on stratup only on /dev/tty1
|
||||
if [[ "$(tty)" == "/dev/tty1" && ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
|
||||
exec startx
|
||||
fi
|
||||
Reference in New Issue
Block a user