Browse Source

fix config file generation

sisyphus
Dustin Falgout 8 years ago
parent
commit
950af2743b
  1. 1
      .gitattributes
  2. 2
      build/utils.sh
  3. 20
      web-greeter/whither.yml

1
.gitattributes vendored

@ -1,2 +1,3 @@
**/_vendor/** linguist-vendored **/_vendor/** linguist-vendored
**/docs/** linguist-vendored **/docs/** linguist-vendored
**/i18n/** linguist-vendored

2
build/utils.sh

@ -99,7 +99,7 @@ set_config() {
KEY="$1" KEY="$1"
[[ '' != "$2" ]] && VALUE="$2" || VALUE="$3" [[ '' != "$2" ]] && VALUE="$2" || VALUE="$3"
sed -i "s|@${KEY}@|@${VALUE}@|g" "${BUILD_DIR}/web-greeter/whither.yml" sed -i "s|@${KEY}@|${VALUE}|g" "${BUILD_DIR}/web-greeter/whither.yml"
} }

20
web-greeter/whither.yml

@ -4,17 +4,17 @@
WebGreeter: WebGreeter:
# Whither's Config # Whither's Config
whither: whither:
app_id: com.antergos.web-greeter # Unique identifier string (dbus style) app_id: com.antergos.web-greeter
toolkit: auto # auto|qt|gtk toolkit: auto
entry_point: entry_point:
autoload: False autoload: False
url: '' # Valid URI for an HTML page to be loaded when the app starts (autoload only). url: ''
window: window:
width: width:
height: height:
initial_state: maximized # normal|maximized|minimized|fullscreen initial_state: maximized
decorated: True # Should the window show standard titlebar and action buttons. decorated: False
stays_on_top: False # Should the window stay on top of all other windows. stays_on_top: True
title: Web Greeter for LightDM title: Web Greeter for LightDM
icon: icon:
no_desktop_env: False no_desktop_env: False
@ -31,7 +31,7 @@ WebGreeter:
themes_dir: '@themes_dir@' themes_dir: '@themes_dir@'
user_image: '@user_image@' user_image: '@user_image@'
version: version:
full: '@full_version@' full: '3.0.0alpha3'
major: '@major_version@' major: '3'
minor: '@minor_version@' minor: '0'
micro: '@micro_version@' micro: '0alpha3'

Loading…
Cancel
Save