nixos: delete my custom layout

these are now accomplished by leveraging the compose key
This commit is contained in:
Primrose 2025-08-04 19:37:46 +02:00
parent f7c9d38d61
commit 6cc725c606
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
5 changed files with 0 additions and 186 deletions

View file

@ -58,10 +58,6 @@ https://leana8959.cachix.org
leana8959.cachix.org-1:CxQSAp8lcgMv8Me459of0jdXRW2tcyeYRKTiiUq8z0M=
```
# Layout
My [dvorak french](https://github.com/leana8959/dvorak-french) layout has been
ported to linux using nix.
# Theme
I have made a theme (a fork of Atom's one-light) where all my tools are visually
unified. It's neovim part can be found [here](https://github.com/leana8959/curry.nvim).

View file

@ -1,41 +0,0 @@
This folder contains my very awesome dvorak French layout on linux
# Ubuntu
`$XDG_CONFIG_HOME/.config/xkb` doesn't work.
[source](https://github.com/elias19r/xkb-layouts)
NOTE: make sure the copied file has no extension, otherwise your x11 will crash.
`# cp dvorak-french.xkb /usr/share/X11/xkb/symbols/`
`/usr/share/X11/xkb/rules/evdev.xml`
```xml
<layoutList>
...
<layout>
<configItem>
<name>dvorak-french</name>
<shortDescription>Baguette</shortDescription>
<description>French Dvorak</description>
</configItem>
</layout>
...
</layoutList>
```
`/usr/share/X11/xkb/rules/evdev.lst`
```xml
! layout
dvorak-french French Dvorak
```
## Swap escape and capslock
`dconf write /org/gnome/desktop/input-sources/xkb-options "['caps:swapescape']"`
(to undo, use `dconf reset`)
# Notes
Use `setxkbmap -option caps:swapescape` to swap escape and capslock
It is possible to reset this option by using the `-option` flag without any argument.
[source](https://askubuntu.com/a/830343)
## Sources
https://help.ubuntu.com/community/Custom%20keyboard%20layout%20definitions

View file

@ -1,25 +0,0 @@
{
services.xserver.xkb = {
extraLayouts = {
"myDvorak" = {
languages = ["us"];
symbolsFile = ./dvorak.xkb;
description = "Leana's dvorak";
};
"myDvorakFrench" = {
languages = ["fr"];
symbolsFile = ./dvorak-french.xkb;
description = "Leana's dvorak but baguette";
};
};
};
services.xserver.xkb = {
layout = "myDvorak";
options = builtins.concatStringsSep "," [
"caps:swapescape"
"compose:ralt"
];
};
console.useXkbConfig = true;
}

View file

@ -1,58 +0,0 @@
// vim:syntax=xkb
partial alphanumeric_keys
xkb_symbols "dvorak-french" {
name[Group1]= "French Dvorak";
key <TLDE> {[ grave, asciitilde, dead_grave, dead_tilde ]};
key <AE01> {[ VoidSymbol, exclam ]};
key <AE02> {[ egrave, at ]};
key <AE03> {[ eacute, numbersign ]};
key <AE04> {[ U22c5, dollar ]};
key <AE05> {[ oe, percent ]};
key <AE06> {[ dead_diaeresis, asciicircum ]};
key <AE07> {[ dead_circumflex, ampersand ]};
key <AE08> {[ ccedilla, asterisk, Ccedilla ]};
key <AE09> {[ agrave, parenleft, dead_grave, dead_breve ]};
key <AE10> {[ ugrave, parenright, U00ba ]};
key <AE11> {[ bracketleft, braceleft ]};
key <AE12> {[ bracketright, braceright, dead_tilde ]};
key <AD01> {[apostrophe, quotedbl, dead_acute, dead_diaeresis ]};
key <AD02> {[ comma, less, dead_cedilla, dead_caron ]};
key <AD03> {[ period, greater, dead_abovedot, periodcentered ]};
key <AD04> {[ p, P ]};
key <AD05> {[ y, Y ]};
key <AD06> {[ f, F ]};
key <AD07> {[ g, G ]};
key <AD08> {[ c, C ]};
key <AD09> {[ r, R ]};
key <AD10> {[ l, L ]};
key <AD11> {[ slash, question ]};
key <AD12> {[ equal, plus ]};
key <AC01> {[ a, A ]};
key <AC02> {[ o, O ]};
key <AC03> {[ e, E ]};
key <AC04> {[ u, U ]};
key <AC05> {[ i, I ]};
key <AC06> {[ d, D ]};
key <AC07> {[ h, H ]};
key <AC08> {[ t, T ]};
key <AC09> {[ n, N ]};
key <AC10> {[ s, S ]};
key <AC11> {[ minus, underscore ]};
key <BKSL> {[ backslash, bar ]};
key <AB01> {[ semicolon, colon, dead_ogonek, dead_doubleacute ]};
key <AB02> {[ q, Q ]};
key <AB03> {[ j, J ]};
key <AB04> {[ k, K ]};
key <AB05> {[ x, X ]};
key <AB06> {[ b, B ]};
key <AB07> {[ m, M ]};
key <AB08> {[ w, W ]};
key <AB09> {[ v, V ]};
key <AB10> {[ z, Z ]};
};

View file

@ -1,58 +0,0 @@
// vim:syntax=xkb
partial alphanumeric_keys
xkb_symbols "dvorak" {
name[Group1]= "English (Dvorak)";
key <TLDE> {[ grave, asciitilde, dead_grave, dead_tilde ]};
key <AE01> {[ 1, exclam ]};
key <AE02> {[ 2, at ]};
key <AE03> {[ 3, numbersign ]};
key <AE04> {[ 4, dollar ]};
key <AE05> {[ 5, percent ]};
key <AE06> {[ 6, asciicircum, dead_circumflex, dead_circumflex ]};
key <AE07> {[ 7, ampersand ]};
key <AE08> {[ 8, asterisk ]};
key <AE09> {[ 9, parenleft, dead_grave, dead_breve ]};
key <AE10> {[ 0, parenright ]};
key <AE11> {[ bracketleft, braceleft ]};
key <AE12> {[bracketright, braceright, dead_tilde]};
key <AD01> {[apostrophe, quotedbl, dead_acute, dead_diaeresis ]};
key <AD02> {[ comma, less, dead_cedilla, dead_caron ]};
key <AD03> {[ period, greater, dead_abovedot, periodcentered ]};
key <AD04> {[ p, P ]};
key <AD05> {[ y, Y ]};
key <AD06> {[ f, F ]};
key <AD07> {[ g, G ]};
key <AD08> {[ c, C ]};
key <AD09> {[ r, R ]};
key <AD10> {[ l, L ]};
key <AD11> {[ slash, question ]};
key <AD12> {[ equal, plus ]};
key <AC01> {[ a, A ]};
key <AC02> {[ o, O ]};
key <AC03> {[ e, E ]};
key <AC04> {[ u, U ]};
key <AC05> {[ i, I ]};
key <AC06> {[ d, D ]};
key <AC07> {[ h, H ]};
key <AC08> {[ t, T ]};
key <AC09> {[ n, N ]};
key <AC10> {[ s, S ]};
key <AC11> {[ minus, underscore ]};
key <BKSL> {[ backslash, bar ]};
key <AB01> {[ semicolon, colon, dead_ogonek, dead_doubleacute ]};
key <AB02> {[ q, Q ]};
key <AB03> {[ j, J ]};
key <AB04> {[ k, K ]};
key <AB05> {[ x, X ]};
key <AB06> {[ b, B ]};
key <AB07> {[ m, M ]};
key <AB08> {[ w, W ]};
key <AB09> {[ v, V ]};
key <AB10> {[ z, Z ]};
};