This commit is contained in:
2024-11-24 13:19:18 -05:00
parent b4106472e3
commit 555a049637
7 changed files with 82 additions and 71 deletions

View File

@@ -6,13 +6,13 @@
}:
{
programs.niri = {
package = pkgs.niri-unstable;
package = pkgs.niri-stable;
settings = {
prefer-no-csd = true;
# environment = {
# DISPLAY = ":0";
# };
environment = {
DISPLAY = ":0";
};
# skip the hotkey menu thingy
hotkey-overlay.skip-at-startup = true;
@@ -54,13 +54,13 @@
];
}
# {
# command = [
# "${pkgs.xwayland-satellite-unstable}/bin/xwayland-satellite"
# # (builtins.toString config.programs.niri.settings.environment.DISPLAY)
# ":0"
# ];
# }
{
command = [
"${pkgs.xwayland-satellite-unstable}/bin/xwayland-satellite"
# (builtins.toString config.programs.niri.settings.environment.DISPLAY)
":0"
];
}
];
window-rules = [
@@ -88,9 +88,7 @@
binds = with config.lib.niri.actions; {
# Application launcher
"Mod+Space".action = spawn [
"${pkgs.rofi-wayland}/bin/rofi"
"-show"
"combi"
"${pkgs.fuzzel}/bin/fuzzel"
];
# open a terminal