Browse Source

Implement config option for disabling context menu (right-click). Fixes antergos/web-greeter#116

sisyphus
Dustin Falgout 8 years ago
parent
commit
33a3f0dfd6
No known key found for this signature in database
GPG Key ID: AEA529BF122902E5
  1. 2
      build/utils.sh
  2. 2
      web-greeter/whither.yml

2
build/utils.sh

@ -48,7 +48,7 @@ do_build() {
do_install() { do_install() {
[[ -e "${DESTDIR}" ]] || mkdir -p "${DESTDIR}" [[ -e "${DESTDIR}" ]] || mkdir -p "${DESTDIR}"
find "${INSTALL_ROOT}" -type f -name '.git*' -delete find "${INSTALL_ROOT}" -type f -name '.git*' -delete
rm-rf "${INSTALL_ROOT}/usr/share/web-greeter/themes/default/.tx" rm -rf "${INSTALL_ROOT}/usr/share/web-greeter/themes/default/.tx"
cp -R "${INSTALL_ROOT}"/* "${DESTDIR}" cp -R "${INSTALL_ROOT}"/* "${DESTDIR}"
} }

2
web-greeter/whither.yml

@ -10,6 +10,8 @@ WebGreeter:
command: /usr/lib/at-spi2-core/at-spi-bus-launcher command: /usr/lib/at-spi2-core/at-spi-bus-launcher
arg: --launch-immediately arg: --launch-immediately
app_id: com.antergos.web-greeter app_id: com.antergos.web-greeter
context_menu:
enabled: False
debug_mode: '@debug_mode@' debug_mode: '@debug_mode@'
entry_point: entry_point:
autoload: False autoload: False

Loading…
Cancel
Save