mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-28 19:32:48 +01:00
build: route the workspace to crates/
The workspace members, the path dependencies, the include_str! and test fixture paths, the recorder's indexed source keys, and the Nix source filter and path literals follow the new layout. Cargo.lock is unchanged.
This commit is contained in:
1 parent
6def6bdfbf
commit
259575a1b3
38 files changed
+159
-158
No files matched your search
@@ -1,5 +1,5 @@
|
||||
# `keybindings-fixtures`: every key binding file of the fixture corpus
|
||||
# (komorebi-hotkeys/tests/fixtures) through `komorebic hotkeys compile --mode auto --dry-run`,
|
||||
# (crates/komorebi-hotkeys/tests/fixtures) through `komorebic hotkeys compile --mode auto --dry-run`,
|
||||
# the command the NixOS module runs, compared with `keybindings.expected`: the static shortcuts of
|
||||
# each file, the bindings left to the engine, and the diagnostics, as the build log of the module
|
||||
# shows them. After a change that means to change them, write the file again with the loop below,
|
||||
@@ -15,7 +15,7 @@ let
|
||||
in
|
||||
pkgs.runCommand "keybindings-fixtures"
|
||||
{
|
||||
fixtures = ../../../komorebi-hotkeys/tests/fixtures;
|
||||
fixtures = ../../../crates/komorebi-hotkeys/tests/fixtures;
|
||||
expected = ./keybindings.expected;
|
||||
samples = lib.fileset.toSource {
|
||||
root = ../../../docs/linux;
|
||||
|
||||
@@ -344,13 +344,13 @@ let
|
||||
|
||||
withFile = keybindings {
|
||||
format = "sxhkd";
|
||||
file = ../../../komorebi-hotkeys/tests/fixtures/plain.sxhkdrc;
|
||||
file = ../../../crates/komorebi-hotkeys/tests/fixtures/plain.sxhkdrc;
|
||||
};
|
||||
|
||||
textAndFile = keybindings {
|
||||
format = "skhd";
|
||||
text = "alt - h : komorebic focus left\n";
|
||||
file = ../../../komorebi-hotkeys/tests/fixtures/plain.skhdrc;
|
||||
file = ../../../crates/komorebi-hotkeys/tests/fixtures/plain.skhdrc;
|
||||
};
|
||||
|
||||
# the typed `config` and the key bindings are two parts of one command line
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# vm-keys-skhd, vm-keys-whkd and vm-keys-sxhkd: the case `vm` of the key binding corpus
|
||||
# (komorebi-hotkeys/tests/fixtures/vm.*), in the format of the suite, installed by the NixOS module
|
||||
# (crates/komorebi-hotkeys/tests/fixtures/vm.*), in the format of the suite, installed by the NixOS module
|
||||
# (`services.komorebi.keybindings`, mode auto). Alt+J can be a static shortcut, which KWin runs
|
||||
# from the system profile; Alt+, cannot, so the module's daemon registers it and runs it. The Rust
|
||||
# tests and `keybindings-fixtures` check the plan; only a real session can say that what the
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
r"""vm-keys-skhd, vm-keys-whkd and vm-keys-sxhkd: the case `vm` of the key binding corpus
|
||||
(komorebi-hotkeys/tests/fixtures/vm.*), in the format of the suite, installed by the NixOS module
|
||||
(crates/komorebi-hotkeys/tests/fixtures/vm.*), in the format of the suite, installed by the NixOS module
|
||||
(`services.komorebi.keybindings`, mode auto). Alt+J can be a static shortcut, which KWin runs
|
||||
from the system profile; Alt+, cannot, so the module's daemon registers it and runs it. The Rust
|
||||
tests and `keybindings-fixtures` check the plan; only a real session can say that what the
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
script = "../../keys-corpus.py";
|
||||
node.services.komorebi.keybindings = {
|
||||
format = "skhd";
|
||||
file = ../../../../../../komorebi-hotkeys/tests/fixtures/vm.skhdrc;
|
||||
file = ../../../../../../crates/komorebi-hotkeys/tests/fixtures/vm.skhdrc;
|
||||
mode = "auto";
|
||||
};
|
||||
}
|
||||
@@ -6,7 +6,7 @@
|
||||
script = "../../keys-corpus.py";
|
||||
node.services.komorebi.keybindings = {
|
||||
format = "sxhkd";
|
||||
file = ../../../../../../komorebi-hotkeys/tests/fixtures/vm.sxhkdrc;
|
||||
file = ../../../../../../crates/komorebi-hotkeys/tests/fixtures/vm.sxhkdrc;
|
||||
mode = "auto";
|
||||
};
|
||||
}
|
||||
@@ -6,7 +6,7 @@
|
||||
script = "../../keys-corpus.py";
|
||||
node.services.komorebi.keybindings = {
|
||||
format = "whkd";
|
||||
file = ../../../../../../komorebi-hotkeys/tests/fixtures/vm.whkdrc;
|
||||
file = ../../../../../../crates/komorebi-hotkeys/tests/fixtures/vm.whkdrc;
|
||||
mode = "auto";
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user