πŸ’» Way-Edges

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

                        • Hyprland: hyprland-rs.
                        • Niri: niri_ipc
                        {
                          "edge": "top",
                          "position": "right",
                          "layer": "overlay",
                          "monitor": "HDMI-A-1",
                          "widget": {
                            "type": "workspace",
                            "thickness": 25,
                            "length": "25%",
                            "hover_color": "#ffffff22",
                            "active_increase": 0.2,
                            "active_color": "#6B8EF0",
                            "deactive_color": "#000"
                          }
                        }
                        

                        type*

                        const `workspace`
                        

                        thickness*

                        Equivalent to the old width, thickness of the workspace bar.
                        Support relative values(string "xx%").

                        Type: int | string
                        Default: 10

                        length*

                        Equivalent to the old height, length of the workspace bar.
                        Support relative values(string "xx%").

                        Type: int | string
                        Default: 200

                        preset*

                        Enum:

                        • "niri"
                        • "hyprland"

                        string

                        gap

                        Gap between each workspace.

                        Type: int
                        Default: 5

                        active_increase

                        How much length should one workspace increase when it's active.
                        Between 0-1

                        Type: float
                        Default: 0.5

                        workspace_transition_duration

                        Animation time of active_increase switching between workspaces.
                        Milliseconds(ms).

                        Type: int
                        Default: 300

                        animation_curve

                        string

                        enum: ["ease-expo", "ease-cubic", "ease-quat", "linear"]

                        default "ease-cubic"

                        default_color

                        Color of the non-active workspace.

                        Support: #rgb/#rrggbb/#rrrgggbbb/rgb(r, g, b)/rgba(r, g, b, a)...
                        For full info, check RGBA

                        Type: string

                        focus_color

                        Color of the focusing workspace.

                        Support: #rgb/#rrggbb/#rrrgggbbb/rgb(r, g, b)/rgba(r, g, b, a)...
                        For full info, check RGBA

                        Type: string

                        active_color

                        Color of the active workspace(non-focusing).

                        For full info, check RGBA

                        Type: string

                        hover_color

                        Color of the mouse hovering workspace.

                        For full info, check RGBA

                        Type: null | string
                        Default: null

                        invert_direction

                        left -> right
                        top -> bottom

                        bool

                        output_name

                        Your monitor name.
                        Leave empty to use the monitor which current widget is on.

                        Example: "eDP-1"

                        string

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