#
# Configuration file for Xbuttons_bar
#
# On system with multiple X servers, there might be a configuration 
# file per X server.
#
# The Xbuttons_bar configuration file dedicated to an X server must
# be named Xbuttons_bar.<XDISP>.conf and stored in same directory as
# script Xbuttons_bar.
#
# <XDISP> is the X server display name, without field 'screennumber',
# and to XDM resource name format, that is, with underscores in place
# of dots and colons. For instance, the value of XDISP for the X server
# display name :0 is _0. It is _1 in case of X server display name :1,
# and so on.
#
# When there is no configuration file dedicated to a given X server, 
# Xbuttons_bar loads the default configuration file Xbuttons_bar.conf.
#
# The default configuration file Xbuttons_bar.conf can be used as a 
# base configuration inside the configuration file dedicated to a 
# given X server, like in example below : 
#
#  8<--- Xbuttons_bar._0.conf ------------------------------------------
#    # Loads defaults
#    #
#    source ${SCRIPTDIR}/Xbuttons_bar.conf
#
#    # Redefines buttons for X server :0
#    #
#    BUTTONS_ORDER="SYSTEM SESSIONS"
#
#    # Redefines buttons-bar foreground color for X server :0
#    #
#    FG_COLOR=white
#
#    # Redefines foreground color of the sessions menu for X server :0
#    #
#    SESMENU_FG_COLOR=yellow
#  8<-------------------------------------------------------------------
#
# Here are the list of variables defined by Xbuttons_bar that can be 
# useful in this configuration file :
#
#  XDISP     : the X server display name to XDM resource name format.
#  SCRIPTDIR : Absolute path to Xbuttons_bar's directory.
#
# --------------------------------------------------------------------
#
# TWO STATES VARIABLES:
# ====================
# The possible values of two-states variables below are 1,on,yes,true,0,
# off,no,false :
#
#  DISABLE_LOG
#  PERSISTENT_SESSION
#  SCREENSHOT_ALWAYS_FULL
#
          ###
          #    Variables    #
                          ###

# Defines whether or not logging of Xbuttons_bar activity must be 
# disabled. Default to off.
# 
# Activity is logged in /var/log/xdm-xbuttons_bar.${XDISP}.log
# 
DISABLE_LOG=off

# Defines, as a space separated list of identifiers, the buttons
# present in the buttons-bar and their order.
#
# Below the supported identifiers :
#
# SESSIONS  : Identifier of button to access the sessions menu.
# SYSTEM    : Identifier of button to access the system menu.
# SCREENSHOT: Identifier of button to take a screenshot of XDM screen.
#
BUTTONS_ORDER="SESSIONS SYSTEM"

# Defines, as a space separated list of identifiers, the buttons
# present in the system menu and their order.
#
# Below the supported identifiers :
#
# SUSPEND  : Identifier of button to suspend the system.
# HIBERNATE: Identifier of button to hibernate the system.
# REBOOT   : Identifier of button to reboot the system.
# HALT     : Identifier of button to shutdown the system.
#
SYSMENU_BUTTONS_ORDER="SUSPEND HIBERNATE REBOOT HALT"

# Defines the label of the button to access the sessions menu.
#
# When the tag @SESSION_NAME@ is present, it is replaced 
# by the name of the current selected session, if any, by
# the string specified by property NOSESSION_STR otherwise.
#
SESMENU_BTLABEL="Session[@SESSION_NAME@]"

# The string by which the tag @SESSION_NAME@, if present 
# in property SESMENU_BTLABEL, must be replaced when there 
# is no selected session.
#
NOSESSION_STR="default"

# Defines the label of the button to access the system menu.
#
SYSMENU_BTLABEL="System"

# Defines the label of the button to take a screenshot of XDM screen.
#
# To make this button invisible on the screenshots, simply set this
# property to " ".
#
SCREENSHOT_BTLABEL="Screenshot"

# Defines the label of the button to suspend the system.
#
SUSPEND_BTLABEL="Suspend"

# Defines the label of the button to hibernate the system.
#
HIBERNATE_BTLABEL="Hibernate"

# Defines the label of the button to reboot the system.
#
REBOOT_BTLABEL="Reboot"

# Defines the label of the button to halt the system.
#
HALT_BTLABEL="Halt"

# Defines the label of the button to exit from system/sessions menu.
#
EXITMENU_BTLABEL="Exit"

# Defines the reset button label of sessions menu selection.
#
RESET_BTLABEL="Reset"

# Defines the buttons-bar font.
#
# Below some (good) alternatives to the default :
#
#      -adobe-courier-medium-r-normal--17-*-*-*-*-*-*-*
#    -adobe-helvetica-medium-r-normal--17-*-*-*-*-*-*-*
#        -adobe-times-medium-r-normal--17-*-*-*-*-*-*-*
#  -urw-nimbus mono l-medium-r-normal--17-*-*-*-*-*-*-*
#        -ibm-courier-medium-r-normal--17-*-*-*-*-*-*-*
#
FONT="-misc-dejavu sans light-extralight-r-normal--17-*-*-*-*-*-*-*"

# Defines the buttons bar foreground color.
#
# This can be an X11 color names or an hex triplet to
# the format #rrggbb.
#
FG_COLOR=grey90

# Defines the system menu font. Default to ${FONT}
#
SYSMENU_FONT="${FONT}"

# Defines the sessions menu font. Default to ${FONT}
#
SESMENU_FONT="${FONT}"

# Defines the system menu foreground color.
#
# This can be an X11 color names or an hex triplet to
# the format #rrggbb.
#
SYSMENU_FG_COLOR=grey90

# Defines the sessions menu foreground color.
#
# This can be an X11 color names or an hex triplet to
# the format #rrggbb.
#
SESMENU_FG_COLOR=grey90

# The location of xinitrc.* session files used to populate the 
# sessions menu.
#
XINITRC_FILES_DIR=/etc/X11/xinit

# The sessions to exclude from the sessions menu.
#
SESSIONS_BLACKLIST=()

# The maximum number of items visible at a time in the sessions menu.
#
# When there is more items than that in the sessions menu, scroll
# buttons are added accordingly. 
#
SESMENU_VIEWPORT_SIZE=10

# Defines the label of the sessions menu left-scroll button.
#
SESMENU_LSCROLL_BTLABEL=" < "

# Defines the label of the sessions menu right-scroll button.
#
SESMENU_RSCROLL_BTLABEL=" > "

# Defines whether or not the (last) selected session in the 
# sessions menu must persist (across XDM resets and system 
# reboots). Default to off.
#
PERSISTENT_SESSION=off

# Defines the delay (in seconds) before taking a screenshot.
#
SCREENSHOT_DELAY=5

# Defines the screenshot folder.
#
# screenshot names are to the format : xdm.${XDISP}.$(date +%Y%m%d_%H%M%S).png
#
SCREENSHOT_DIR=/tmp

# Defines the message displayed before taking a screenshot.
#
# The tag @SCREENSHOT_DELAY@ is replaced at runtime by the value of
# property SCREENSHOT_DELAY.
#
SCREENSHOT_NTFY_MSG="Will Take a screenshot in @SCREENSHOT_DELAY@ seconds ..."

# Defines the label of button to dismiss the timeout and take a 
# screenshot immediately.
#
SCREENSHOT_NOW_BTLABEL="Now"

# Defines the label of button to cancel taking a screenshot.
#
SCREENSHOT_CANCEL_BTLABEL="Cancel"

# Defines the message displayed after taking a screenshot.
#
# The tag @SCREENSHOT_FILENAME@ is replaced at runtime by the full
# path to the screenshot file.
#
SCREENSHOT_TAKEN_MSG="Screenshot saved in file @SCREENSHOT_FILENAME@."

# Defines the message displayed when taking a screenshot failed.
#
SCREENSHOT_FAIL_MSG="Failed to take a screenshot."

# Defines the font of the message displayed before/after taking a 
# screenshot, and in case of error.
#
SCREENSHOT_DLG_FONT="-misc-dejavu sans-medium-r-normal--17-*-*-*-*-*-*-*"

# Defines whether or not to always take full screenshots, even when
# XDM is configured for primary display only (Xsetup.PRIMARY_ONLY=on).
#
# Default to off.
#
SCREENSHOT_ALWAYS_FULL=off
