[calamares] add windows placement

- will be introduced in 3.2.18
This commit is contained in:
Philip Müller 2020-01-17 10:30:30 +01:00
parent 37c8f8b5c6
commit be6d499cbd
4 changed files with 17 additions and 0 deletions

View file

@ -29,6 +29,12 @@ windowExpanding: ${windowexp}
# in CalamaresUtilsGui, 800x520.
windowSize: ${windowsize}
# Placement of Calamares window. Either "center" or "free".
# Whether "center" actually works does depend on the window
# manager in use (and only makes sense if you're not using
# *windowExpanding* set to "fullscreen").
windowPlacement: ${windowplacement}
# These are strings shown to the user in the user interface.
# There is no provision for translating them -- since they
# are names, the string is included as-is.

View file

@ -80,6 +80,9 @@
# (possible units: pixel (px) or font-units (em))
# windowsize="800px,520px"
# placement of Calamares window, either "center" or "free".
# windowplacement="center"
# colors for text and background components:
# background of the sidebar

View file

@ -168,6 +168,12 @@ windowExpanding: ${windowexp}
# in CalamaresUtilsGui, 800x520.
windowSize: ${windowsize}
# Placement of Calamares window. Either "center" or "free".
# Whether "center" actually works does depend on the window
# manager in use (and only makes sense if you're not using
# *windowExpanding* set to "fullscreen").
windowPlacement: ${windowplacement}
# These are strings shown to the user in the user interface.
# There is no provision for translating them -- since they
# are names, the string is included as-is.

View file

@ -343,6 +343,8 @@ init_calamares(){
[[ -z ${windowsize} ]] && windowsize="800px,520px"
[[ -z ${windowplacement} ]] && windowplacement="center"
[[ -z ${sidebarbackground} ]] && sidebarbackground=#454948
[[ -z ${sidebartext} ]] && sidebartext=#efefef