Configure rofi and add plugins

This commit is contained in:
Oliver Davies 2024-11-25 08:03:59 +00:00
parent 8a6be4f1de
commit 42ba264047
3 changed files with 26 additions and 1 deletions

View file

@ -7,6 +7,7 @@
./i3.nix ./i3.nix
./immich.nix ./immich.nix
./jellyfin.nix ./jellyfin.nix
./rofi.nix
./screenkey.nix ./screenkey.nix
./xbanish.nix ./xbanish.nix
]; ];

View file

@ -64,7 +64,7 @@ in
modifier = modifier; modifier = modifier;
keybindings = inputs.nixpkgs.lib.mkOptionDefault { keybindings = inputs.nixpkgs.lib.mkOptionDefault {
"${modifier}+d" = "exec ${pkgs.rofi}/bin/rofi -show drun"; "${modifier}+d" = "exec rofi -show drun";
"${modifier}+Shift+b" = "exec ${pkgs.firefox}/bin/firefox"; "${modifier}+Shift+b" = "exec ${pkgs.firefox}/bin/firefox";
"${modifier}+Shift+f" = "exec ${pkgs.xfce.thunar}/bin/thunar"; "${modifier}+Shift+f" = "exec ${pkgs.xfce.thunar}/bin/thunar";

View file

@ -0,0 +1,24 @@
{ pkgs, username, ... }:
{
environment.systemPackages = with pkgs; [
rofi
rofi-power-menu
];
home-manager.users.${username}.programs.rofi = {
enable = true;
cycle = true;
extraConfig = {
modi = "run,drun,emoji,calc";
};
plugins = with pkgs; [
rofi-bluetooth
rofi-calc
rofi-emoji
rofi-pulse-select
];
};
}