πŸ’» Way-Edges

  • 🀷 What is this
    • πŸ“₯ Installation
      • ⌨️ Command line usage
        • βš™οΈ Configuration
          • 🧱 Widgets
            • Button
              • Slider
                • WrapBox
                  • Ring
                    • Text
                      • Tray
                      • Workspace
                      • Tray

                        Tray widget.

                        This widget can only be as a stand alone widget, it should be contained with in a Box.

                        {
                          "name": "tray",
                          "widgets": [
                            {
                              "name": "tray",
                              "edge": "bottom",
                              "position": "left",
                              "monitor": "HDMI-A-1",
                              "layer": "overlay",
                              "widget": {
                                "type": "wrap-box",
                                "align": "bottom_left",
                                "widgets": [
                                  {
                                    "index": [-1, -1],
                                    "widget": {
                                      "type": "tray",
                                      "icon_size": 30,
                                      "header_menu_stack": "menu_top",
                                      "header_menu_align": "left",
                                      "grid_align": "bottom_left"
                                    }
                                  }
                                ]
                              }
                            }
                          ]
                        }
                        

                        icon_size

                        Tray icon size.

                        Type: int
                        Default: 20

                        font_family

                        font_family of all text inside tray.

                        Type: string | null

                        tray_gap

                        Gap between each tray item.

                        Type: integer
                        _Default: 2

                        grid_align

                        Align of the grid.

                        Enum:

                        [
                          "top_left",
                          "top_center",
                          "top_right",
                          "center_left,",
                          "center_center",
                          "center_right",
                          "bottom_left",
                          "bottom_center",
                          "bottom_right"
                        ]
                        

                        Type: string
                        Default: top_left

                        header_menu_stack

                        Header on the top or Menu on the top.

                        Enum:

                        ["header_top", "menu_top"]
                        

                        Type: string
                        Default: header_top

                        header_menu_align

                        Align of the grid.

                        Enum:

                        ["left", "right"]
                        

                        Type: string
                        Default: left

                        header_draw_config

                        font_pixel_height

                        Font pixel height of the tray header.

                        Type: int
                        Default: 16

                        text_color

                        Color with RGBA support.

                        Type: string
                        Default: #FFF

                        menu_draw_config

                        margin

                        Horizontal & Vertical margin of each menu item.

                        Type: [i32; 2]
                        Default: [12, 16]

                        font_pixel_height

                        Font pixel height of the tray header.

                        Type: int
                        Default: 20

                        icon_size

                        Menu icon size.

                        Type: int
                        Default: 20

                        marker_size

                        Marker(radio/check/...) pixel height.

                        Type: int
                        Default: 20

                        separator_height

                        Separator pixel height.

                        Type: int
                        Default: 5

                        border_color

                        Color with RGBA support.

                        Type: string
                        Default: #FFF

                        text_color

                        Color with RGBA support.

                        Type: string
                        Default: #FFF

                        marker_color

                        Color with RGBA support.

                        null represents, same as text_color.

                        Type: null | string
                        Default: null

                        "'Star⭐' true as the ten" β€”β€”β€”β€” Someone from tenakth