regexghost-dotfiles

My dotfiles and scripts
git clone git@git.regexghost.com/regexghost-dotfiles.git
Log | Files | Refs | README

clock_settings_xfce (3116B)


      1 -- config file to be sourced by clock_conky_110.lua
      2 -- by damo August 2020
      3 ------------------------------------------------------------------------
      4 
      5 -- if "nil" value is used, then a default value is set by the script
      6 -- Default value in comments is "[value]"
      7 
      8 clock_vars = {
      9   {
     10     -- if x,y = "nil", clock size is relative to conky window
     11     x = nil,                  -- x and y coords (center), relative to the top left
     12     y = 178,                  --  corner of conky, in px [conky_window.width/2]
     13     radius = 116,             -- [x*0.95] (to fit conky window)
     14 
     15     border = true,            -- draw clock border  [false]
     16     border_width = 3,         -- border width in px [line_width]
     17     border_out = false,       -- If "true", border is drawn outside clock radius [false]
     18     line_width = 3,           -- used for marks, and default border width [2]
     19     color = 0xf8f8f1,         -- border color. [0xffffff]
     20     alpha = 1,              -- border alpha [1]
     21 
     22     hours_num = 12,           -- options: "12" or "24" [12]
     23     color_hands = 0xf8f8f1,        -- hour and minute hands color [color]
     24     alpha_hands = 1,        -- hour and minute hands alpha [1]
     25     color_sec = 0xff5555,     -- seconds hand color [color]
     26     alpha_sec = 1,          -- seconds hand alpha [1]
     27     color_face = 0xa4a3b1,         -- clock face color [0xffffff]
     28     alpha_face = 1,        -- clock face alpha [0.5]
     29     color_marks = 0xf8f8f1,        -- hour and minute marks color [color]
     30     alpha_marks = 1,        -- hour and minute marks alpha [alpha]
     31     color_center = 0xf8f8f2,       -- center spot color [color]
     32     alpha_center = nil,       -- center spot alpha [1]
     33 
     34     numerals = true,          -- write hour numerals    [false]
     35     text_radius = 0.8,        -- % radius of numerals from center [0.75]
     36     font_name = "Raleway",    -- ["Noto Sans"]
     37     font_size = 15,           -- [12]
     38     font_color = 0xf8f8f1,    -- [color]
     39     font_alpha = 0.5,         -- [alpha]
     40     italic = false,           -- [false]
     41     oblique = false,          -- [false]
     42     bold = true,              -- [false]
     43 
     44     clock_face = false,           -- draw background clock face [false]
     45     hours_marks = true,           -- draw hours marks   [true]
     46     minutes_marks = false,         -- draw minutes marks [false]
     47     clock_center = true,          -- draw center spot   [false]
     48     clock_center_radius = 0.08,   -- % radius of clock of center spot [0.1]
     49     marks_radius_mins = 0.95,     -- % radius of clock of start of mark [0.95]
     50     marks_radius_hrs = 0.9,       -- % radius of clock of start of mark [0.9]
     51     hour_radius = 0.50,           -- % radius of clock of hour hand     [0.65]
     52     minute_radius = 0.65,         -- % radius of clock of minute hand   [0.8]
     53     seconds_radius = 0.7,         -- % radius of clock of seconds hand  [0.9]
     54     hour_hand_width = 8,          -- hour hand thickness, px    [6]
     55     minute_hand_width = 6,        -- minute hand thickness, px  [4]
     56     seconds_hand_width = 2,       -- seconds hand thickness, px [2]
     57     hand_style = 0,               -- cap shape of hands, 0="round" or 1="square" [1]
     58   },
     59 }