# peaclock # binary config # # The config file in the config directory must be named 'config'. # It is a plain text file that can contain any of the commands listed # in the 'Commands' section of the '--help' output. # Each command must be on its own line. # Lines that begin with the '#' character are treated as comments. # # For more information, refer to the 'Configuration' and 'Commands' # sections of the programs help output with '--help' or '-h'. # ----------------------------------------------------------------------------- # general # ----------------------------------------------------------------------------- # set the x y block size, the width and height of an individual block composing # the clock block 2 1 # block-x 2 # block-y 1 # set the x y padding size, the width and height of the space between each # individual block composing the clock padding 2 1 # padding-x 2 # padding-y 1 # set the x y margin size, the space around the outside of the clock from the # edge of the terminal margin 2 1 # margin-x 2 # margin-y 1 # set the x y ratio size, auto adjust the clock to conform to a specific # aspect ratio, keep in mind that a square ratio would be '2 1' due to a # terminal character cell having a height around twice the size of its width ratio 2 1 # ratio-x 2 # ratio-y 1 # set the padding size between the date and the clock date-padding 1 # set the string value used to fill the active, inactive, and colon blocks of # the clock, an empty string clears the value fill '' # fill-active '' # fill-inactive '' # fill-colon '' # set the locale, for example 'en_CA.utf8', an empty string clears the value locale '' # set the timezone, for example 'America/Vancouver', an empty string clears the # value timezone '' # set the date format string, an empty string clears the value date '%a %d %b - %I:%M:%S %P' # set the mode type # select one of: # clock, timer, or stopwatch mode clock # set the view type # select one of: # date, ascii, digital, binary, or icon view binary # set the value to adjust with the hjkl;' keys # select one of: # block, padding, margin, ratio, active-fg, inactive-fg, colon-fg, # active-bg, inactive-bg, colon-bg, background, or date toggle padding # set the stopwatch to start # clear, stop, start, 00h:00m:00s stopwatch start # set the timers initial value # clear, stop, start, 00h:00m:00s timer 10m:0s # set the string value to be executed by a shell upon timer completion, # an empty string clears the value timer-exec 'notify-send -a peaclock "timer complete"' # set the duration in milliseconds between reading user input rate-input 50 # set the duration in milliseconds between redrawing the output rate-refresh 1000 # set the duration in milliseconds to display status messages rate-status 5000 # ----------------------------------------------------------------------------- # toggles # # set # ----------------------------------------------------------------------------- # use 24 hour time set hour-24 on # display seconds set seconds on # display the date set date on # auto size the clock to fill the screen, overrides the current x y block size set auto-size on # auto size the clock to use the aspect ratio set by the command 'ratio', # overrides the current x y block size and auto-size set auto-ratio on # ----------------------------------------------------------------------------- # styles # # style <#000-#fff|#000000-#ffffff|0-255|Colour|reverse|clear> # # 24-bit colour # #000000-#ffffff # # 8-bit colour: # 0-255 # # 4-bit colour: # black [bright] # red [bright] # green [bright] # yellow [bright] # blue [bright] # magenta [bright] # cyan [bright] # white [bright] # ----------------------------------------------------------------------------- # set the style of the text set by the command 'fill' used to draw active # blocks in the clock style active-fg clear # set the style of the text set by the command 'fill' used to draw inactive # blocks in the clock style inactive-fg clear # set the style of the text set by the command 'fill-colon' used to draw colon # blocks in the clock style colon-fg clear # set the style of the background used to draw active blocks in the clock style active-bg reverse # set the style of the background used to draw inactive blocks in the clock style inactive-bg #2c323c # set the style of the background used to draw colon blocks in the clock style colon-bg clear # set the style of the date style date white # set the style of the background style background clear # set the style of the text style text clear # set the style of the command prompt symbol shown at the start of the line style prompt clear # set the style of the prompt status on success style success green # set the style of the prompt status on error style error red