personal configuration built with nix
yqrashawn / yqdotfiles Goto Github PK
View Code? Open in Web Editor NEWdotfiles
License: MIT License
dotfiles
License: MIT License
personal configuration built with nix
Hi!
I've just discovered that I can use Karabiner (and so, Goku) to map stuff onto my Logitech G600's buttons, and I'm over the moon, realising that I can stop using Logitech's awful software.
However, I'm trying to replicate something, and here comes the trouble.
Basically, on this mouse the third click is a layer key, allowing you to use the other buttons with it.
So here's how I'm trying to do the same:
{:simlayers {:alt {:pkey :button6}}
:main [
{:des "G600"
:rules [
[ { :pkey :button12 } :!Cw ]
[ { :pkey :button12 } :!CSw :alt]
]}
]}
This doesn't seem to be the right syntax, but I'm struggling to find what I should to instead.
In ./config/karabiner.edn, you define :prev_app
(line 4) as a :tos
definition, but I'm having trouble using it with your later-defined right_command
re-mapping (lines 287-289):
โ ~ goku
ERROR: invalid <to> in main section's Change right_command ...
Failed!
It seems that there's nothing defined for :application
anywhere else in your config, but the <to> part of the rule invokes that at line 289: [:application :right_command nil {:alone :prev_app}]
.
Could you clarify what is intended by :application
and why it might not be working for me?
You have exposed your TabNine api key in your config. Not sure whether it matters, but just wanted to give a heads up.
bodyx
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.