nixos/home/rofi/default.nix
Evie Litherland-Smith 8ca2053944 Reorganise a lot of things, clean up some files
Pull program expressions inside hyprland directory (e.g. rofi, waybar,
etc...) up one level.

Convert everything into package-name/default.nix format for
consistency

Move common home imports from flake.nix into hyprland/default.nix,
flake.nix now only defaults into importing hyprland, to be consistent
with how system imports work

Remove some old files: calendar and contact setup, sweet theme pkgs

Move xdg.configFile expressions from home/default.nix into a
config/default.nix, keeping the files to be linked in the config dir
as well (still need to do ipython though)
2024-01-28 12:01:18 +00:00

38 lines
1.1 KiB
Nix

{ config, pkgs, ... }: {
programs.rofi = {
enable = true;
package = pkgs.rofi-wayland;
location = "center";
terminal = "foot";
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 ";
};
};
}