Skip to content

[Bug] Stackline is not showing Icons on Stack mode #125

@Isaacwhyuenac

Description

@Isaacwhyuenac

Hi,

I have Stackline installed and with the following config.

hs.inspect(stackline.config)
<1>{
  __index = <table 1>,
  autosuggestions = { "features.dynamicLuminosity", "appearance.offset.x", "appearance.iconDimmer", "appearance.shouldFade", "appearance.dimmer", "appearance.vertSpacing", "features.fzyFrameDetect.enabled", "appearance.fadeDuration", "paths.yabai", "features.winTitles", "appearance.color.white", "features.clickToFocus", "appearance.iconPadding", "appearance.pillThinness", "features.hsBugWorkaround", "features.fzyFrameDetect.fuzzFactor", "appearance.radius", "appearance.size", "appearance.alpha", "appearance.showIcons", "appearance.offset.y", "advanced.maxRefreshRate" },
  conf = {
    advanced = {
      maxRefreshRate = 0.5
    },
    appearance = {
      alpha = 1,
      color = {
        white = 0.9
      },
      dimmer = 2.5,
      fadeDuration = 0.2,
      iconDimmer = 1.1,
      iconPadding = 4,
      offset = {
        x = 4,
        y = 2
      },
      pillThinness = 6,
      radius = 3,
      shouldFade = true,
      showIcons = true,
      size = 32,
      vertSpacing = 1.2
    },
    features = {
      clickToFocus = true,
      dynamicLuminosity = "not_implemented",
      fzyFrameDetect = {
        enabled = true,
        fuzzFactor = 30
      },
      hsBugWorkaround = true,
      winTitles = "not_implemented"
    },
    paths = {
      yabai = "/opt/homebrew/opt/yabai"
    }
  },
  events = {
    advanced = {
      maxRefreshRate = <function 1>
    },
    appearance = <function 2>,
    features = {
      clickToFocus = <function 3>
    }
  },
  generateValidator = <function 4>,
  get = <function 5>,
  getOrSet = <function 6>,
  getPathSchema = <function 7>,
  init = <function 8>,
  schema = {
    advanced = {
      maxRefreshRate = "number"
    },
    appearance = {
      alpha = "number",
      color = "color",
      dimmer = "number",
      fadeDuration = "number",
      iconDimmer = "number",
      iconPadding = "number",
      offset = {
        x = "number",
        y = "number"
      },
      pillThinness = "number",
      radius = "number",
      shouldFade = "boolean",
      showIcons = "boolean",
      size = "number",
      vertSpacing = "number"
    },
    features = {
      clickToFocus = "boolean",
      dynamicLuminosity = "dynamicLuminosity",
      fzyFrameDetect = {
        enabled = "boolean",
        fuzzFactor = "number"
      },
      hsBugWorkaround = "boolean",
      winTitles = "winTitles"
    },
    paths = {
      yabai = "string"
    }
  },
  set = <function 9>,
  setLogLevel = <function 10>,
  toggle = <function 11>,
  types = {
    boolean = {
      coerce = <function 12>,
      validator = <function 13>
    },
    color = {
      coerce = <function 14>,
      validator = <function 15>
    },
    dynamicLuminosity = {
      coerce = <function 14>,
      validator = <function 16>
    },
    number = {
      coerce = <function 17>,
      validator = <function 18>
    },
    string = {
      coerce = <function 19>,
      validator = <function 20>
    },
    table = {
      coerce = <function 14>,
      validator = <function 21>
    },
    winTitles = {
      coerce = <function 14>,
      validator = <function 22>
    }
  },
  validate = <function 23>
}

In my init.lua I have

hs.ipc.cliInstall('/opt/homebrew') -- Install the command line tool

local log = hs.logger.new('init.lua', 'debug')

stackline_conf = require('stackline_conf')


stackline = require("stackline")
stackline:init(stackline_conf)

The yabai path is configured correctly.

I have created a Stack and there are no Icons on the Left.

Screenshot 2023-09-24 at 14 14 14

When I debug the StackManager in Hammerspoon Console, I found the manager always returns empty table to me.

Screenshot 2023-09-24 at 14 16 18

May I know how to have the App Icons Indicators shown??

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions