namishh / crystal

nix dotfiles for chilly people
MIT License
643 stars 21 forks source link

Icon theme path #17

Closed elythh closed 11 months ago

elythh commented 11 months ago

Hello, I have kind of a dumb question but it might be useful for other people too. I set my iconTheme path to this image Yet it's still not showing any icon. Am I missing something ?

Thank you for your help

namishh commented 11 months ago

there should not be a / in the end of the path

elythh commented 11 months ago

Same result

image

namishh commented 11 months ago

omfg i am so dumb, i have it hardocded in mods/getIcon.lua, i have pushed and fixed. heres the two line change

local helpers    = require("helpers")
local t          = helpers.readJson(gears.filesystem.get_cache_dir() .. "json/settings.json").iconTheme
elythh commented 11 months ago

Nice catch, I noticed the trash icon path in desktop.json was using it but I thought it was because that one needed to be hardcoded. Thank you !