nixos/home/hyprland/rofi/default.nix
Evie Litherland-Smith bb2992c784 Enable light/sound control for laptop (hopefully)
Add extra rofi modes (ssh, power, files)

Add extra XDG settings for hyprland
2023-07-18 09:15:40 +01:00

36 lines
960 B
Nix

{
pkgs,
config,
...
}: let
icon-theme = config.gtk.iconTheme.name;
in {
imports = [../gtk.nix];
home.packages = [pkgs.rofi-power-menu];
programs.rofi = {
enable = true;
location = "left";
pass.enable = true;
terminal = "${pkgs.wezterm}/bin/wezterm";
plugins = with pkgs; [
rofi-file-browser
rofi-top
];
extraConfig = {
modi = "run,drun,ssh,top,file-browser-extended,power-menu:${pkgs.rofi-power-menu}/bin/rofi-power-menu";
icon-theme = icon-theme;
show-icons = true;
drun-display-format = "{icon} {name}";
disable-history = false;
hide-scrollbar = true;
display-run = " 󰅴 Commands ";
display-drun = " 󱓞 Programs ";
display-ssh = " 󰢹 SSH ";
display-top = " Top ";
display-file-browser-extended = " 󰝰 File Browser ";
display-power-menu = " 󰩈 Power Menu ";
};
theme = ./catppuccin-macchiato.rasi;
};
}