feat(btop): added ctrl+shift+esc keybind for preset 2

This commit is contained in:
kenji
2026-03-08 11:39:16 -05:00
parent c86358010c
commit 5b6477cab6
+15 -8
View File
@@ -15,12 +15,19 @@
};
};
wayland.windowManager.hyprland.settings = lib.mkIf (myConfig.btop.autostart) {
exec-once = [
"uwsm app -- xdg-terminal-exec -e btop -p 2"
];
windowrulev2 = [
"monitor ${myConfig.btop.monitor}, title:^(btop)$"
];
};
wayland.windowManager.hyprland.settings = lib.mkMerge [
{
bindd = [
"CTRL SHIFT, Escape, Open Btop Minimal, exec, uwsm app -- xdg-terminal-exec -e btop -p 2"
];
}
(lib.mkIf (myConfig.btop.autostart) {
exec-once = [
"uwsm app -- xdg-terminal-exec -e btop -p 2"
];
windowrulev2 = [
"monitor ${myConfig.btop.monitor}, title:^(btop)$"
];
})
];
}