@MyriaCore_gitlab w.r.t. respecting the gtk theme, the thing is that taffybar actually uses its own css file to allow customization of the bar
Dope, I'll look into editing the taffybar.css. I'd been avoiding it a bit, since I didn't know how to integrate it with my project. Thanks for the tip lol
hey, this is just a general haskell question, but do u guys have any idea why I'd be facing encoding errors with
simpleHTTP (getRequest "http://wttr.in/?0&T&Q&format=%25c+%25f") >>= getResponseBody
This should give me something like
"\127782 +76\176F", however, I'm getting
"\240\159\140\166 +76\194\176F" instead.
replaceInBox, but I can't find it, since this code looks correct. The newer versions of gi-gtk are all in nightlies, so i kinda want to avoid trying out a new resolver if I can.
let children' = newChildren, all you are doing is shadowing the initial let binding with a new one
have you done any haskell tutorials?
there is no such thing as a varible that can be assigned to like this in haskell
you would need to use something like an IORef to write this code in the way you have here
I've basically been learning haskell as I go. I thought that when in a do block, let bindings were run sequentially, but that makes sense that they're still scoped.
is there not some function you can call against the widget to get what its current children are?
Not that I could find, but I was looking in the Box docs. I'll check Container to see
couldn't you just update them?
Well, I want to potentially be able to generate an entirely new list, with a potentially different size. I'm using this to write a system that parses
<icon>iconName</icon> in text and adds an icon there, and wherever the text is, it's just added as a label. So in that case, I know the list won't be the same size, since I'm not always using the same configuration of icons and labels
thanks so much for dealing with my volley of questions @IvanMalison, you're a real hero <3
IconLabel, since they make working with labels and icons crazy easy.
wttr.inis popular, and it does international weather (not just local), so I'm sure that'd be nice for others to have access to.
taffybarbroke again in
nix-shell -p taffybarwith "https://releases.nixos.org/nixos/20.09/nixos-20.09beta992.7badbf18c45/nixos-minimal-20.09beta992.7badbf18c45-x86_64-linux.iso" but it won't build.
taffybarhas also been broken in
nixos-20.03(it would only work with the unstable channel).
taffybaron the command line I have these errors:
Fontconfig warning: "/etc/fonts/conf.d/65-nonlatin.conf", line 4: unknown element "description" Fontconfig error: Cannot load config file from /etc/fonts/2.11/fonts.conf