dotfiles/modules/desktop/rofi.nix

19 lines
348 B
Nix
Raw Normal View History

2022-05-04 01:11:31 +00:00
{ config, pkgs, lib, identity, ... }:
{
config = lib.mkIf config.services.xserver.enable {
home-manager.users.${identity.user}.programs.rofi = {
enable = true;
cycle = true;
location = "center";
plugins = [ pkgs.rofi-calc pkgs.rofi-emoji ];
};
launcherCommand = "${pkgs.rofi}/bin/rofi -show run";
};
}