Giter Club home page Giter Club logo

Comments (9)

colonelpanic8 avatar colonelpanic8 commented on June 10, 2024

Interesting. I suppose that we should guard the file access that is happening there, but it seems like discord is doing something strange as well.

from taffybar.

colonelpanic8 avatar colonelpanic8 commented on June 10, 2024

Hey @FireSpike0 My hope is that taffybar/gtk-sni-tray@d94a9e3 has fixed this issue. IS there any chance you could verify whether or not this is the case?

from taffybar.

FireSpike0 avatar FireSpike0 commented on June 10, 2024

I'll try it out as soon as possible and give you an update after that...

from taffybar.

FireSpike0 avatar FireSpike0 commented on June 10, 2024

Even though it's difficult to test, because Taffybar crashed after a random amount of time, it seems fixed now as far as I can tell. Thank you for your quick support. :)

from taffybar.

colonelpanic8 avatar colonelpanic8 commented on June 10, 2024

@FireSpike0 are you able to see any logs taffybar produces? If it worked, there should be new warning level logs that describe an error from time to time when taffybar previously would have crashed. Are you building your own taffybar? How are you able to use the right version of grk-sni-tray?

from taffybar.

FireSpike0 avatar FireSpike0 commented on June 10, 2024

When starting Taffybar the normal way I do, I'm not able to see any log output. When using Discord the next time I'll start my wrapper script which dumps the log output to a file and check that out.
Regarding your other questions: Yes, I build my own version of Taffybar using a Stack project.

stack.yaml

resolver: snapshot.yaml

packages:
  - .

extra-deps:
  - git: [email protected]:taffybar/gtk-sni-tray.git
    commit: d94a9e3ec2e6310b2b36d17638d1facdee292b59

snapshot.yaml

resolver: lts-18.28

packages:
  - ConfigFile-1.1.4
  - cairo-0.13.8.2
  - gi-atk-2.0.24
  - gi-cairo-1.0.26
  - gi-cairo-connector-0.1.1
  - gi-cairo-render-0.1.1
  - gi-dbusmenu-0.4.10
  - gi-dbusmenugtk3-0.4.11
  - gi-freetype2-2.0.1
  - gi-gdk-3.0.25
  - gi-gdkpixbuf-2.0.28
  - gi-gdkx11-3.0.12
  - gi-gio-2.0.29
  - gi-glib-2.0.26
  - gi-gmodule-2.0.2
  - gi-gobject-2.0.27
  - gi-gtk-3.0.38
  - gi-harfbuzz-0.0.6
  - gi-pango-1.0.26
  - gi-xlib-2.0.11
  - gio-0.13.8.2
  - glib-0.13.8.2
  #- git: [email protected]:taffybar/gtk-sni-tray.git
  #  commit: d94a9e3ec2e6310b2b36d17638d1facdee292b59
  - gtk2hs-buildtools-0.13.8.3
  - gtk3-0.15.7
  - haskell-gi-0.26.0
  - haskell-gi-base-0.26.0
  - pango-0.13.8.2
  - taffybar-3.3.0
  - xdg-desktop-entry-0.1.1.1
  - xmonad-0.17.0
  - xmonad-contrib-0.17.0

The only problem I have is that I was not able to specify the Git commit version of gtk-sni-tray within my snapshot.yaml (which would be a real solution because I share the snapshot.yaml across several Haskell projects related to my desktop environment)

from taffybar.

colonelpanic8 avatar colonelpanic8 commented on June 10, 2024

The only problem I have is that I was not able to specify the Git commit version of gtk-sni-tray within my snapshot.yaml

A release is coming soon so you should be able to use that.

from taffybar.

samtay avatar samtay commented on June 10, 2024

@FireSpike0 sorry to ping on an unrelated issue, but I've been searching forever for a good taffybar-stack example. The one in the repo is very dated. Any chance you'd be willing to share your full taffybar configuration? Maybe in return, I could minimize it and produce some documentation for taffybar.

from taffybar.

colonelpanic8 avatar colonelpanic8 commented on June 10, 2024

@samtay I don't think stack should be very hard. I belive that taffybar itself should be the only extra-dep you need, unless you are using a very recent nightly resolver.

from taffybar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.