#FEEDBACK_HANDLER: Command to execute after launching any bound key. It will
# get appended the last parameter of a KEY COMMAND or KEY DOCUMENT with a
# space in between. The space is the reason for the backslash.
#
#Default value: none
#
FEEDBACK_HANDLER "notify-send --urgency normal -t 2000 --icon='gtk-info' 'Superkb Launching'\"

#WELCOME_CMD: Command to execute on Superkb start. It was intended to send a
# fixed welcome message on start, configured on /etc/superkbrc, but the user
# may override it with any other command, including an empty string.
#
#Example vlaues:
#  WELCOME_CMD "notify-send 'Welcome to Superkb'"
#  WELCOME_CMD "touch ~/.superkb-start-time"
#  WELCOME_CMD ""
#
#Default value: "xmessage -buttons '' -center -timeout 5 Welcome to Superkb! To start, hold down any of your configured Super keys."
#
WELCOME_CMD "notify-send --urgency normal -t 2000 --icon='gtk-info' 'Superkb is ready! Hold down F8 or Menu to see available key bindings.'"

#DELAY: Time (in seconds) the Super key must be pressed before showing
# the on-screen hints.
#
#Example vlaues:
#  DELAY 0.5
#  DELAY 1
#
#Default value: 0.5
#
#DELAY 0.5

#DRAWKB_PAINTING_MODE: Selects the key shape mode to be used when painting
# the keyboard.
#
#Possible values:
#  FULL_SHAPE = Draws all the available outlines, simulating the full physical
#   key.
#  BASE_OUTLINE_ONLY = Draws a hollow base outline using the foreground color.
#  FLAT_KEY = Draws a filled dark base outline.
#
#Default value: FULL_SHAPE
DRAWKB_PAINTING_MODE FLAT_KEY

#SUPERKEY_REPLAY: Allows the Super key to be forwarded to the current window
#  if it was pressed and released before the delay and if no action key was
#  pressed.
#
#Possible values:
#  1 = Enables Super key replaying to the current window.
#  0 = Disables this behavior. Superkb steals the Super key for itself only.
#
#Default: 1
#
#SUPERKEY_REPLAY 1

#SUPERKEY1_STRING and SUPERKEY1_CODE: Specify what the first Super key is to be.
#  This is useful in laptops like the Thinkpad where there isn't a Windows key.
#
#Example values:
#  SUPERKEY1_STRING F8
#  SUPERKEY1_STRING Super_L
#  SUPERKEY1_CODE 233
#
#Default value: Super_L
#
# Note for Debian: by default it's Super_L, but Debian's default desktop is
# GNOME, which grabs Super_L and Super_R by default. Using F8 instead.
# Note that when SUPERKEY_REPLAY is set to 1, whenever the magic key is
# pressed without a combination, the key is sent to the underlying program.
# This way, F8 is not lost for other programs.
# Feel free to reconfigure.
SUPERKEY1_STRING F8

#SUPERKEY2_STRING and SUPERKEY2_CODE: Specify what the second Super key is to
#be.
#
#Example values:
#  SUPERKEY2_STRING F8
#  SUPERKEY2_STRING Super_R
#  SUPERKEY2_CODE 233
#
#Default value: Super_R
#
# Note for Debian: by default it's Super_R, but Debian's default desktop is
# GNOME, which grabs Super_L and Super_R by default. Using Menu instead.
# Note that when SUPERKEY_REPLAY is set to 1, whenever the magic key is
# pressed without a combination, the key is sent to the underlying program.
# This way, Menu is not lost for other programs.
# Feel free to reconfigure.
SUPERKEY2_STRING Menu

#SUPERKEY_RELEASE_CANCELS: Cancels whatever action is to be performed if the
# Super key is released before the bound key.
#
#Possible values:
#  0 = Actions will be done even if the Super key is released before the bound
#   key.
#  1 = Releasing Super key will force ignoring of currently pressed bound keys.
#
#Default value: 0
#
#SUPERKEY_RELEASE_CANCELS 0

#You can use either Cairo or Xlib for drawing the keyboard. This is controlled
#with DRAWKBLIB.
#
#You should change it if not using Cairo.
#
#Possible values:
#  cairo
#  xlib
#
#Default value: cairo
DRAWKBLIB cairo

#Don't use the following unless you didn't include Cairo.
#
#FONT "-*-bitstream vera sans-bold-r-*-*-*-*-*-*-*-*-*-*"
#IMAGELIB imlib2

#BACKGROUND, FOREGROUND: Set the colors to use when drawing the keyboard.
#
#Syntax:
#  FOREGROUND red_value green_value blue_value
#  BACKGROUND red_value green_value blue_value
#
#The red, green and blue values can either be in the range 0 to 255, or
#  0 to 65535.
#
#Example values:
#  FOREGROUND 255 255 255
#  BACKGROUND 23 110 38
#
#Default values:
# BACKGROUND 40 40 40
# FOREGROUND 220 220 220

#FEEDBACK_STRINGS_AUTOQUOTE: Enable or disable single-quoting around feedback
#strings.
#
#The feedback string is the 6th parameter in KEY COMMAND. The string is simply
#appended to the FEEDBACK_HANDLER string and the result is run to generate the
#feedback announcement upon program launching.
#
#Previously it was needed to single quote multiple-word strings inside the
#double quotes "'like this'" in order to pass it as a single parameter to the
#shell. However, this behavior changed with FEEDBACK_STRINGS_AUTOQUOTE, which
#defaults to 1. Single quotes are automatically added (if not already there)
#and can be turned off by setting this value to 0.
#
#This value affects the rest of the configuration file and thus must be present
#before any KEY directive disired to be affected.
#
#Example values:
#  FEEDBACK_STRINGS_AUTOQUOTE 1
#  FEEDBACK_STRINGS_AUTOQUOTE 0
#
#Default value:
# FEEDBACK_STRINGS_AUTOQUOTE 1

#Icons files are really not that up to date.

KEY COMMAND "Home" 0 "xdg-open $HOME" /usr/share/icons/Tango/32x32/places/user-home.png "Home folder"
KEY COMMAND "l" 0 "xdg-screensaver lock" /usr/share/icons/Tango/32x32/actions/system-lock-screen.png "Screen locker"
KEY COMMAND "F9" 0 "xdg-open http://www.debian.org/" /usr/share/icons/Tango/32x32/apps/internet-web-browser.png "Internet browser"

#Sample KEY DOCUMENT usage:
#KEY DOCUMENT "w" 0 ~/weekly-plan.odt /usr/share/icons/gnome/48x48/status/appointment-soon.png "Weekly plan"

#Other key bindings should go into $HOME/.superkbrc using the same syntax as in here.
