Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Dennis Gosnell
    @cdepillabout
    Termonad should show this error when you try to run it.
    Rod Eric Joseph
    @recj_gitlab
    Are you also getting
    /home/rod/.config/termonad/termonad.hs:13:52: error:
        Module ‘Termonad.Config.Colour’ does not export ‘createColour’
       |
    13 |   ( AlphaColour, ColourConfig, addColourExtension, createColour
       |                                                    ^^^^^^^^^^^^
    I changed the import but I still get that error
    Rod Eric Joseph
    @recj_gitlab
    Well, I didn't want to change the colors, so I just took that part out and it's fine now. Thanks for your help!
    Also, I would be interested in working on the custom keybindings option, but I would have to study the source code for a bit and may have some questions. I'll check out that PR first.
    Dennis Gosnell
    @cdepillabout
    No problem, glad you got it working :-)
    Ondřej Súkup
    @mimi1vx
    hello , anybody has working 'monokai/molokai' colors for termonad ?
    Dennis Gosnell
    @cdepillabout
    @mimi1vx I'm not aware of anyone using that, but if you'd like to figure it and send either an example file (like https://github.com/cdepillabout/termonad/blob/master/example-config/ExampleSolarizedColourExtension.hs), or even just send a PR adding it as a possible setting in https://github.com/cdepillabout/termonad/blob/master/src/Termonad/Config/Colour.hs, I'd be happy to merge it in.
    Ondřej Súkup
    @mimi1vx
    @cdepillabout i found great source of correct colorcodes for VTE based terminals - https://github.com/Mayccoll/Gogh
    Dennis Gosnell
    @cdepillabout
    @mimi1vx Looks good!
    Daniel Coto Céspedes
    @ahaamgelid_gitlab
    Hi, does anybody know whether termonad supports background transparency? I tried using sRGB32 r g b a. But, after compiling, it seems the alpha "a" value changes the luminosity not the transparency, against a black background.
    Dennis Gosnell
    @cdepillabout
    @ahaamgelid_gitlab I think there is an issue describing background transparency: cdepillabout/termonad#73
    Although I don't think anyone has come up with a solution yet. If you want to work on this and send a PR fixing it, I would be happy to merge it in. It looks like there are a few suggested solutions on that issue, but no one has figured out what works best and turned it into a PR.
    Konrad "Unrooted" Klawikowski
    @Unrooted
    morning
    Konrad "Unrooted" Klawikowski
    @Unrooted
    image.png
    werks
    Aarkon
    @jakob.ledig_gitlab
    Hi!
    I'm trying to run termonad together with xmonad on NixOS. Unfortunately, I'm unable to compile the config file because apparently nix does not bundle the correct ghc packages. I was able to mitigate the problem by providing them via its options, but no luck so far with termonad.
    I know this seems to be question more about nix than termonad, but I'm running out of ideas at the moment, so maybe someone can point me in the right direction. :)
    Dennis Gosnell
    @cdepillabout

    @jakob.ledig_gitlab Hi, do you have a config anywhere available?

    Nixpkgs has a termonad-with-packages function you can use to get a Termonad with the given packages (similar to how xmonad works). If that is not working for you for some reason, you can also just compile termonad with the default.nix file in the Termonad repo.

    11 replies
    ShrykeWindgrace
    @ShrykeWindgrace
    Hi!
    I wonder if there is a way to change keybindings? I skimmed the documentation and found nothing except the list of default keybindings. The module Temonad.Keys seems to define something, but I do not see an immediate way to, for example, unbind the shortcut "Ctrl+Shift+P"
    Is it possible at all? If yes, where do I start?
    Dennis Gosnell
    @cdepillabout
    @ShrykeWindgrace Unfortunately it is not possible yet.
    However, there is an issue about this if you'd be interested in working on it:
    cdepillabout/termonad#83
    It would also be possible to just go into the source code for Termonad and modify the keybindings yourself (although this would be somewhat hacky).
    If you want to do this, but can't find where a keybinding is defined, feel free to ask.
    ShrykeWindgrace
    @ShrykeWindgrace
    @cdepillabout thanks for the prompt answer! For now I just commented out the part where the shortcut is set in src/Termonad/App.hs (the issue #83 has enough info to find the right place for that). I will take a look at that issue , but I can not promise anything for the foreseeable future =)
    ShrykeWindgrace
    @ShrykeWindgrace
    Unfortunately, my nix-build is not happy with commenting out that code:
    termonad-linux-x86_64: Failed to open file “/nix/store/27yz9h85nqcz6sfzbkqyg6lsniipzdb7-termonad-4.0.0.0-data/share/ghc-8.8.3/x86_64-linux-ghc-8.8.3/termonad-4.0.0.0/img/termonad-lambda.png”: No such file or directory (4)
    I am not very familiar with inner workings of nix, I suppose that changing source code changes a hash code somewhere, yet the app still looks at the previous hash
    Dennis Gosnell
    @cdepillabout
    @ShrykeWindgrace Maybe you could delete the already-built version of termonad with a command like rm ~/.cache/termonad?
    ShrykeWindgrace
    @ShrykeWindgrace
    It helped with running termonad, thanks a lot! However, my vim still does not receive the Ctrl+Shift+P shortcut
    on a side note, vim sees Ctrl+A/Ctrl+X commands, I am still at loss what to do =)
    Ondřej Súkup
    @mimi1vx
    @cdepillabout hello, cdepillabout/termonad#172
    Dennis Gosnell
    @cdepillabout
    There was an issue about some sort of docstring-related problem for people building on arch linux, if I remember correctly: cdepillabout/termonad#169
    If something needs to be done for this in Termonad (like bumping build-dependencies), please feel free to send a PR or open an issue.
    Although just recently I added a CI job for ghc-8.10.2 that appears to be working, so I think it should be possible to build with ghc-8.10.2.
    craige
    @craige:mcwhirter.io
    [m]
    👋 just testing this connection is working correctly 😃
    The answer appears to be yes. As you were.
    Dennis Gosnell
    @cdepillabout
    :wave:
    craige
    @craige:mcwhirter.io
    [m]
    Note to self: Gitter does not show reactions, don't use them 🤦‍♂️
    craige
    @craige:mcwhirter.io
    [m]
    Is support for italic text something that is a configuration option @cdepillabout or a feature that needs to be added?
    I was unable unable to locate italic support mentioned explicitly in the code.
    Dennis Gosnell
    @cdepillabout

    @craige:mcwhirter.io Ah, I'm not sure. There is nothing in the Termonad code that deals with it currently. There may be a VTE (https://wiki.gnome.org/Apps/Terminal/VTE) option for enabling it though.

    Here's the C VTE manual: https://developer.gnome.org/vte/unstable/VteTerminal.html

    Here's the Haskell library Termonad is using: https://hackage.haskell.org/package/gi-vte

    It looks like there is an ANSI escape code for italic text, but it specifically says, "Not widely supported": https://en.wikipedia.org/wiki/ANSI_escape_code#SGR_(Select_Graphic_Rendition)_parameters

    If you can't find anything in VTE that supports this, I'd suggest opening an issue on the upstream VTE library asking for support. If they support it, then it should be easy to also support it in Termonad.
    craige
    @craige:mcwhirter.io
    [m]
    gnome-terminal supports it (side check I just did) and unless I missed something, that's a VTE implementation too?
    Dennis Gosnell
    @cdepillabout
    Yeah, it likely is.
    In that case, I imagine there should be a way to get it working in Termonad.
    craige
    @craige:mcwhirter.io
    [m]
    I spent ages wading through the gi.vte binding on hackage and if it's there, I missed it (likely). I'll keep poking around over the next few days and and if I find nothing, I'll hit up upstream as you suggest.
    gi.vte also appears to support hyperlinks which I'm going to have a poke at too, unless they're already a termonad option I missed...
    Dennis Gosnell
    @cdepillabout
    I took a look as well, but I couldn't find anything related to italics in either the VTE C manual, or the gi-vte bindings. I'm not sure what would need to go into that. Although also feel free to open an issue on the Termonad repo to show what you've looked into so far, and also to track an upstream issue if you end up making one.

    gi.vte also appears to support hyperlinks which I'm going to have a poke at too

    @craige:mcwhirter.io Ah, yeah, this is something I've wanted to add. There is sort of an issue about this: cdepillabout/termonad#137

    craige
    @craige:mcwhirter.io
    [m]
    Is there a "blink always" option available? I've not been able to locate one.