when I execute termonad, it does not change anything. I'm assuming that it is supposed to recompile termonad.hs if there were any changes
Yes, you're correct here.
termonad should recompile
~/.config/termonad/termonad.hs if it exists. What does your
termonad.hs look like? Also, do you get any errors on your console when running
termonad? There is also a file
~/.cache/termonad/errors.log that may contain errors.
I would also like to get rid of the Alt + number keybinding
Unfortunately no one has implemented the functionality for changing the keybindings:
Although if you wanted to work on this I'd love to get something like this merged in.
git cloneand subsequently
termonad.hs, I get the following error:
$ termonad Configuration '/home/illabout/.config/termonad/termonad.hs' changed. Recompiling. Error occurred while loading configuration file. Launching custom binary /home/illabout/.cache/termonad/termonad-linux-x86_64 /home/illabout/.config/termonad/termonad.hs:49:19: error: Not in scope: ‘showMenu’ Perhaps you want to add ‘showMenu’ to the import list in the import of ‘Termonad.Config’ (/home/illabout/.config/termonad/termonad.hs:(6,1)-(10,3)). | 49 | , showMenu = False | ^^^^^^^^
showMenuis probably the error?
@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.
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 =)
nix-buildis not happy with commenting out that code:
termonad-linux-x86_64: Failed to open file “/nix/store/27yz9h85nqcz6sfzbkqyg6lsniipzdb7-termonad-184.108.40.206-data/share/ghc-8.8.3/x86_64-linux-ghc-8.8.3/termonad-220.127.116.11/img/termonad-lambda.png”: No such file or directory (4)
nix, I suppose that changing source code changes a hash code somewhere, yet the app still looks at the previous hash
vimsees Ctrl+A/Ctrl+X commands, I am still at loss what to do =)
@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
gnome-terminalsupports it (side check I just did) and unless I missed something, that's a VTE implementation too?