nixos/modules/desktop/rofi.nix

28 lines
650 B
Nix

{
home-manager,
pkgs,
...
}: {
# A window switcher, application launcher and dmenu replacement. Used to open
# programs, view the clipboard history, and select emojis.
# https://github.com/davatorium/rofi
# https://github.com/lbonn/rofi (wayland fork)
# https://wiki.archlinux.org/title/rofi
home-manager.users.caspervk = {
programs.rofi = {
enable = true;
package = pkgs.rofi-wayland;
theme = "android_notification";
extraConfig = {
modes = "drun"; # TODO: drun,emoji
show-icons = true;
};
# TODO
# plugins = with pkgs; [
# rofi-emoji
# ];
};
};
}