aboutsummaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2025-09-27 11:20:43 +0300
committerIvan Molodetskikh <yalterz@gmail.com>2025-10-02 09:38:17 +0300
commitb3ae3adbb77c4111366cb59b80d757f361c70237 (patch)
treeaf60f8397ae9971b3ab2889c0925c705abe02a25 /src/ui
parent264289cd41069bd2c85c523a1b0c687eab0a89d7 (diff)
downloadniri-b3ae3adbb77c4111366cb59b80d757f361c70237.tar.gz
niri-b3ae3adbb77c4111366cb59b80d757f361c70237.tar.bz2
niri-b3ae3adbb77c4111366cb59b80d757f361c70237.zip
Partially implement config includes
Subsequent commits will add merging for all leftover sections.
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/hotkey_overlay.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/hotkey_overlay.rs b/src/ui/hotkey_overlay.rs
index 783b71ef..67997fc8 100644
--- a/src/ui/hotkey_overlay.rs
+++ b/src/ui/hotkey_overlay.rs
@@ -607,7 +607,7 @@ mod tests {
#[track_caller]
fn check(config: &str, action: Action) -> String {
- let config = Config::parse("test.kdl", config).unwrap();
+ let config = Config::parse_mem(config).unwrap();
if let Some((key, title)) = format_bind(&config.binds.0, &action) {
let key = key.map(|key| key_name(false, ModKey::Super, &key));
let key = key.as_deref().unwrap_or("(not bound)");