Skip to content

Configuration

Jake Jarrett edited this page Dec 15, 2020 · 3 revisions

Supported Config Options

Table of Contents

  1. example config
  2. General (Required)
  3. Tray (Optional)
  4. Volume (Optional)
  5. Workspaces (Optional)
  6. Time (Optional)
  7. Launcher (Optional)
  8. Deprecated / Being deprecated

example config

{
    "general": {
        "height": 33,
        "opacity": 40,
        "font-size": 16
    },
    "power": {
        "icon": ""
    },
    "tray": {
        "padding": 5
    },
    "volume": {
        "icon": "🔊",
        "scroll": true
    },
    "workspaces": {
        "current-color": "#0053a0",
        "click": true
    },
    "time": {
        "click": true
    },
    "launcher": {
        "click": true,
        "color": "hotpink"
    }
}

General

Required

Example

{
    "general": {
        "height": 1
    }
}

Fields

  • height
    • int
    • optional
  • width
    • int
    • optional
  • margin-top
    • int
    • optional
  • margin-right
    • int
    • optional
  • margin-left
    • int
    • optional
  • font-size
    • int
    • optional
  • opacity
    • float64
    • optional

Tray

Optional

Example

{
    "tray": {
        "padding": 20
    }
}

Fields

  • padding
    • int
    • optional

Volume

Optional

Example

{
    "volume": {
        "scroll": false,
        "icon": "🔊"
    }
}

Fields

  • scroll
    • boolean
    • optional
  • icon
    • string (Literal string will be rendered so emoji etc are 👌)
    • optional

Workspaces

Optional

Example

{
    "workspaces": {
        "current-color": "#0053a0",
        "click": true
    },
}

Fields

  • current-color
    • string
    • optional
  • click
    • boolean
    • optional

Time

Optional

Example

{
    "time": {
        "click": true
    },
}

Fields

  • click
    • boolean
    • optional

Launcher

Optional

Example

{
    "launcher": {
        "click": true
    },
}

Fields

  • click
    • boolean
    • optional

Deprecated / Being deprecated

Olkb

Optional

Example

{
    "olkb": {
        "enable": true,
        "order": ""
    },
}

Fields

  • enable
    • boolean
    • optional
  • order
    • string
    • optional