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.

14 line
436B

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