Git Product home page Git Product logo

Comments (4)

fufexan avatar fufexan commented on May 27, 2024 1

The reason I wanted an option beside -i is because I needed a way to tell the script where the X11DIR is (in order for it to get and patch the XKB files). I managed to do it.

Another thing I did was add an option to use the script without sudo. In the Nix build process, sudo isn't available as a command, and since one could specify the X11DIR, if it's writable, the script has no problem.

I updated my fork with the code if you want to look.

Here's how I'm using my fork.

from bigbagkbdtrixxkb.

DreymaR avatar DreymaR commented on May 27, 2024

I don't quite understand what you mean. In the install script, you can just change the X11DIR variable to what you want. But you'd like a switch for the script instead, so you wouldn't have to edit the file each time? Isn't that what the -i switch does?

If you wish, you can also copy the modded files over the X11/xkb dir manually. But maybe the better option is to use a local directory? See the other current issue.

The setxkb script has a -d switch for which dir to run setxkbmap from.

from bigbagkbdtrixxkb.

DreymaR avatar DreymaR commented on May 27, 2024

Nice work there! I wish I understood the magic you've done with how you're setting it up, but that went right above my head.
ᏊᵕꈊᵕᏊ

from bigbagkbdtrixxkb.

fufexan avatar fufexan commented on May 27, 2024

Thanks for merging!

As for the magic I'm doing with it - it's just patching packages the Nix way :) Although that method is not ideal, I can't seem to be able to include your mods in a more elegant way. But it works, and I'm fine with it.

from bigbagkbdtrixxkb.

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.