nixcfg/homeManagerModules/apps/rofi/default.nix
Aly Raffauf 5e801091f6
Some checks are pending
flakehub / flakehub-publish (push) Waiting to run
git-mirror / gitlab-sync (push) Waiting to run
nix-build / default-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / petalburg-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run
home: fuzzel,wlogout -> rofi (#62)
* home: add rofi module with default settings

* home/hyprland: switch to rofi

* home/waybar: switch to rofi

* home/wayland: switch to rofi

* home/sway: switch to rofi

* cleanup

* home.rofi: remove unused emoji plugin
2024-07-25 15:26:12 -04:00

51 lines
1.2 KiB
Nix

{
config,
lib,
pkgs,
...
}: let
cfg = config.ar.home;
in {
config = lib.mkIf cfg.apps.rofi.enable {
programs.rofi = {
enable = true;
font = "NotoSansM Nerd Font ${toString config.gtk.font.size}";
location = "center";
package = pkgs.rofi-wayland;
plugins = [pkgs.rofi-power-menu];
terminal = lib.getExe cfg.defaultApps.terminal;
theme = "glue_pro_blue";
extraConfig = {
click-to-exit = true;
combi-display-format = "{text}";
combi-hide-mode-prefix = true;
combi-modes = [
"window"
"drun"
"ssh"
];
display-drun = " ";
display-filebrowser = " ";
display-power-menu = " ";
display-run = " ";
display-ssh = " ";
display-window = " ";
drun-display-format = "{icon} {name}";
hide-scrollbar = true;
hover-select = true;
me-accept-entry = "MousePrimary";
me-select-entry = "";
modes = "drun,window,ssh,combi,filebrowser";
show-display-name = false;
show-icons = true;
sort = true;
window-format = " {c} {t}";
window-thumbnail = false;
};
};
};
}