You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

17 lines
537B

  1. #!/usr/bin/fish
  2. {{ansible_managed|comment}}
  3. systemctl --user --wait start pathappend.service
  4. {% if not home_xsession_vncviewer %}
  5. set -x XDG_SESSION_TYPE x11
  6. systemctl --user import-environment XDG_SESSION_TYPE
  7. systemctl --user import-environment XDG_SESSION_ID
  8. exec systemctl --user start --wait xsession.target
  9. {% else %}
  10. systemctl --user start vncserver@:{{home_vncserver_display_number}}.service
  11. i3 -c ~/.config/i3/null.config &
  12. exec xtigervncviewer ~/.vnc/socket -PasswordFile ~/.vnc/passwd -FullScreen=1 -Maximize=1
  13. {% endif %}