Skip to content

A Nix flake that aims to simplify the setup of magic layouts on NixOS. Latest changes are on playground branch

Notifications You must be signed in to change notification settings

nyawox/psilocybin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Psilocybin

Psilocybin

Designed for row stagger, with slides and magic key in mind. The overview of all layers can be seen here, and keymap-drawer can be accessed here

Magic rules 🪄

Magic rules are mostly used to address bad patterns, effectively reducing sfbs to almost 0 percent!

⚝ is the magic key(home row right index)
⬡ is the right repeat key(right thumb)
⬢ is the left repeat key(left outer pinky)
⎵ is white space

Combo Output
m⚝ mp
y⚝ y.
e⚝ eu
a⚝ ao
p⚝ pt
p⬢ pm
r⚝ rl
l⚝ lr
w⚝ ws
s⚝ sw
n⚝ nts
i⚝ ion
ad⚝ adm
d⚝ dg
v⚝ ver
igh⚝ ighbo
t⚝ tch
t⬢ tp
⎵⚝ th
⎵⚝⎵ the
⎵⚝⬡ them
⎵⚝y⬡ they'
⎵⚝y⬡r they're
⎵⚝y⬡v they've
⎵⚝y⬡l they'll
⎵⚝r⎵ their
⎵⚝re there
⎵⚝n then
⎵⚝s these
⎵⚝o tho
⎵⚝os those
⎵⚝oh though
scrip⚝ script
ip⚝ ipment
lop⚝ lopment
oop⚝ oopment
rt⚝ rtment
nt⚝ ntment
st⚝ stment
ft⚝ ftment
eat⚝ eatment
uit⚝ uitment
mit⚝ mitment
i⬡ ing
y⬡ ying
v⬡ ving
k⬢ king
ng⬡ nging
nd⬡ nding
ow⬡ owing
raw⬡ rawing
row⬡ rowing
ew⬡ ewing
g⚝ ght
g⬢ get
wa⚝ was
wi⚝ wis
we⚝ wes
ke⚝ ked
h⬡ hav
j⚝ just
a⬡ and
pu⚝ put
to⚝ top
te⚝ ted
ge⚝ ged
ma⚝ mat
me⚝ met
da⚝ dat
stud⚝ stud
u⚝ use
u⬡ ure

Fingering and slides

Keys Fingering
sc/cs index-middle
tm/mt index-middle
gt/tg/t_g/g_t index-middle
pd/p_d/d_p middle-index
dt index-middle
dm/m_d/d_m middle-index, middle on top
m_k middle-index
m_g middle-index
o_' ring-pinky
bv slide
⚝h slide
'a/a' pinky-ring
ue slide
oa slide
yi slide,only works on wide mod fat i
i' pinky ring

Usage

  description = "Your NixOS configuration";

  inputs = {
    nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";

    psilocybin = {
      url = "github:nyawox/psilocybin";
      # Recommended to not clutter your flake.lock
      inputs.nixpkgs.follows = "nixpkgs";
    };
  };

  outputs = { self, nixpkgs, psilocybin, ...}: {
    nixosConfigurations = {
      yourHost = nixpkgs.lib.nixosSystem {
        system = "x86_64-linux";

        modules = [
          # This is not a complete configuration and you need to reference
          # your normal configuration here.

          # Import the module
          psilocybin.nixosModules.psilocybin

          ({
            psilocybin = {
              enable = true;
              # ansi = true;
              # jis = true;
            };
          })
        ];
      };
    };
  };
}

About

A Nix flake that aims to simplify the setup of magic layouts on NixOS. Latest changes are on playground branch

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages