# DEFAULT BUTTON CONFIGURATION FOR bl-exit
#
# USING THE CLASSICAL STYLE
# -------------------------
#
# CASE:
#   Use only lowercase in the BUTTONS section
#
# WARNING:
#   Do not overwrite this file.
#   It is a Debian conf file and may be changed by the package manager when
#   a new version of bunsen-utilities is released.
#
# CONFIGURATION:
#   To configure bl-exit buttons, copy this file to
#
#      "$HOME/.config/bl-exit/bl-exitrc"
#
#   and edit it according to your wishes.
#
#   It is possible to group configurations for several buttons by adding a
#      [default]
#   section. All buttons that do not have a specific section will take the
#   show and onerror values from this default section.
#   show can take the values always | never | maybe
#
#     maybe:
#       the button will be shown and clickable when the action is
#       possible. When the action is not possible (e.g. suspend when
#       no swap file is present) the button will be inactive.
#
#   onerror can take the values visual | novisual for feedback on error.
#
# USING THE MODERN STYLE
# ----------------------
#
# ICONS:
#   Icon images are installed in "/usr/share/bunsen-exit/dark"
#   You can use your own images by placing them in a directory of your
#   choice in your HOME directory. We recommend "~/.local/share/bl-exit",
#   but you are free to choose any directory you want.
#   To activate those images, edit the 'iconpath' configuration option
#   to:
#     iconpath=~/.local/share/bl-exit:/usr/share/bunsen-exit/light
#
#   This path is searched from left to right - just like PATH - to find
#   your configured images.
#
# THEMES:
#   The height of the bl-exit window will not be displayed less than the icon height.
#   The default dark and light theme icons are 100x100px.
#   NOTE: We install a "light" directory containing light icons for a dark theme
#         and a 'dark' directory containing dark icons for a light theme.
#         However, you are free to name your icon directory as you want and you can
#         use any directory for any theme, by editing the 'iconpath' configuration
#         option for that theme appropriately.
#
# STYLE:
#   When the [style] section is not present or the combination of the values
#   of options 'dir' and 'rcfile' point to a non-existent file, the buttons
#   will take colors from the active gtk theme.
#   So you can keep the section [style] and just switch the value of 'rcfile'
#   from an existent file to 'None' for instance - to switch from a custom
#   style to the current active gtk theme. (presuming there is no file 'None'
#   in the directory 'dir')
#
#     non-existing rcfile  --> use current GTK theme
#     existing rcfile      --> use custom colors
#
#   EDIT:
#     To switch to the classic button layout, you can now set the 'theme'
#     entry in the [theme] section to 'classic'
#
#   To use custom styles, you MUST
#      - create a subdirectory in "$HOME/.config/bl-exit"
#      - specify that subdirectory in entry 'dir' of section [style] as an absolute path
#      - specify the filename in entry 'rcfile' of section [style]
#
#   We install example custom styles in "/etc/xdg/bl-exit/styles" that you can copy
#   to "$HOME/.config/bl-exit/"...
#

### BUTTONS ############################################################
[cancel]
show = always
onerror = novisual

[logout]
show = always
onerror = novisual

[suspend]
show = always
onerror = novisual

[sleep]
show = always
onerror = novisual

[hibernate]
show = never
onerror = novisual

[hybridsleep]
show = never
onerror = novisual

[reboot]
show = always
onerror = novisual

[poweroff]
show = always
onerror = novisual

[style]
dir = styles
rcfile = none

### THEME to be used ###################################################
# When the [theme] section is not present or commented out
# or the [theme] section is present and the 'theme' entry is set to
# 'classic', use the 'classic' ButtonBox layout.
[theme]
# set the theme
theme = classic

### THEME settings #####################################################
[bunsen-small]
name = Default small Bunsen theme
author = BunsenLabs
#Overall height of the dialog.
dialogHeight=130
#Delay for the fade in counter
sleepDelay=0.001
#OverallOpacity of the dialog (0-100)
overallOpacity=80
#Space between Buttons
buttonSpacing=0
# path to icon files
iconpath=/usr/share/bunsen-exit/dark
#Button textures (i.e. the images on them)
buttonImageCancel=cancel.png
buttonImagePowerOff=poweroff.png
buttonImageReboot=reboot.png
buttonImageSuspend=sleep.png
buttonImageLogout=logout.png
buttonImageHybridSleep=hibernate.png
buttonImageHibernate=hibernate.png
# windowWidthAdjustment - subtract this number (px) from monitor width to get window width
windowWidthAdjustment=480

[dark]
name=Dark Theme
author=MerlinElMago
#Overall height of the dialog.
dialogHeight=150
#Delay for the fade in counter
sleepDelay=0.003
#OverallOpacity of the dialog (0-100)
overallOpacity=100
#Space between Buttons
buttonSpacing=5
# path to icon files
iconpath=/usr/share/bunsen-exit/dark
#Button textures (i.e. the images on them)
buttonImageCancel=cancel.png
buttonImagePoweroff=poweroff.png
buttonImageReboot=reboot.png
buttonImageSuspend=sleep.png
buttonImageLogout=logout.png
buttonImageHybridSleep=hibernate.png
buttonImageHibernate=hibernate.png
# windowWidthAdjustment - subtract this number (px) from monitor width to get window width
windowWidthAdjustment=

[light]
name=Light Theme
author=BunsenLabs
#Overall height of the dialog.
dialogHeight=150
#Delay for the fade in counter
sleepDelay=0.003
#OverallOpacity of the dialog (0-100)
overallOpacity=100
#Space between Buttons
buttonSpacing=5
# path to icon files
iconpath=/usr/share/bunsen-exit/light
#Button textures (i.e. the images on them)
buttonImageCancel=cancel.png
buttonImagePoweroff=poweroff.png
buttonImageReboot=reboot.png
buttonImageSuspend=sleep.png
buttonImageLogout=logout.png
buttonImageHybridSleep=hibernate.png
buttonImageHibernate=hibernate.png
# windowWidthAdjustment - subtract this number (px) from monitor width to get window width
windowWidthAdjustment=

[minimal]
name = Minimal working theme
author = BunsenLabs
#Delay for the fade in counter
sleepDelay=0.003
#OverallOpacity of the dialog (0-100)
overallOpacity=75
# path to icon files
iconpath=/usr/share/bunsen-exit/light
#Button textures (i.e. the images on them)
buttonImageCancel=cancel.png
buttonImagePowerOff=poweroff.png
buttonImageReboot=reboot.png
buttonImageSuspend=sleep.png
buttonImageLogout=logout.png
buttonImageHybridSleep=hibernate.png
buttonImageHibernate=hibernate.png
# windowWidthAdjustment - subtract this number (px) from monitor width to get window width
windowWidthAdjustment=
