diff --git a/defaults/main.yaml b/defaults/main.yaml index 88c89bd..12b0d8c 100644 --- a/defaults/main.yaml +++ b/defaults/main.yaml @@ -16,6 +16,8 @@ home_vncserver_started_and_enabled: "{{ home_profile == 'vdesk' }}" home_vncserver_display_number: 47 home_xsession_vncviewer: "{{ home_profile == 'vdesk' }}" +home_vncserver_geometry: '1920x1200' + home_profile: desktop default_terminal: urxvt diff --git a/templates/vnc/vnc.conf.j2 b/templates/vnc/vnc.conf.j2 index 390d58b..ffb5dd8 100644 --- a/templates/vnc/vnc.conf.j2 +++ b/templates/vnc/vnc.conf.j2 @@ -1,4 +1,4 @@ {{ ansible_managed | comment }} $desktopName = "{{inventory_hostname}}$ENV{DISPLAY}"; -$geometry = "1920x1200"; +$geometry = "{{home_vncserver_geometry}}";