add rofi alt-tab command

This commit is contained in:
Noah Masur 2022-06-02 22:09:53 -04:00
parent 6f5b4725e7
commit 350d7bb3cd
3 changed files with 6 additions and 0 deletions

View File

@ -29,6 +29,10 @@
type = types.str;
description = "Command to use for interacting with systemd";
};
altTabCommand = mkOption {
type = types.str;
description = "Command to use for choosing windows";
};
toggleBarCommand = lib.mkOption {
type = lib.types.str;
description = "Command to hide and show the status bar.";

View File

@ -116,6 +116,7 @@ in {
"exec --no-startup-id ${config.gui.launcherCommand}";
"${modifier}+Shift+s" =
"exec --no-startup-id ${config.gui.systemdSearch}";
"Mod1+Tab" = "exec --no-startup-id ${config.gui.altTabCommand}";
"${modifier}+Shift+c" = "reload";
"${modifier}+Shift+r" = "restart";
"${modifier}+Shift+q" = ''

View File

@ -146,6 +146,7 @@
gui.launcherCommand = "${pkgs.rofi}/bin/rofi -show run -modi run";
gui.systemdSearch = "${pkgs.rofi-systemd}/bin/rofi-systemd";
gui.altTabCommand = "${pkgs.rofi}/bin/rofi -show window -modi window";
};