nixos/home/rofi/default.nix
Evie Litherland-Smith 21c0dc8176 Switch foot back to alacritty, rearrange some sections
Move stylix target control into individual expressions

Remove thunar

Remove dex, enable systemd services for blueman-applet and
network-manager-applet

Remove mpg123

Qualify package calls in hyprland config using nixpkg definitions

Remove "make switch" from Makefile, replaced by (preferred)
nixos-update
2024-01-30 16:10:12 +00:00

43 lines
1.1 KiB
Nix

{
config,
pkgs,
...
}: {
stylix.targets.rofi.enable = true;
programs.rofi = {
enable = true;
package = pkgs.rofi-wayland;
location = "center";
terminal = "${pkgs.alacritty}/bin/alacritty";
pass = {
enable = true;
package = pkgs.rofi-pass-wayland;
extraConfig = ''
USERNAME_field='login'
'';
};
extraConfig = let
power-menu = "power-menu:${pkgs.rofi-power-menu}/bin/rofi-power-menu";
in {
modi = "window,run,drun,ssh,${power-menu},combi";
combi-modi = "window,drun,ssh";
sidebar-mode = true;
sort = true;
sorting-method = "fzf";
matching = "fuzzy";
icon-theme = config.gtk.iconTheme.name;
show-icons = true;
application-fallback-icon = "󰋙 ";
drun-display-format = "{icon} {name} ({categories})";
disable-history = false;
hide-scrollbar = true;
display-window = " 󰧨 Move ";
display-run = " 󰅴 Run ";
display-drun = " 󱓞 Apps ";
display-ssh = " 󰢹 SSH ";
display-combi = " 󰛡 Combi ";
display-power-menu = " 󰐥 Power ";
};
};
}