29 lines
783 B
Nix
29 lines
783 B
Nix
{
|
|
pkgs,
|
|
config,
|
|
...
|
|
}: let
|
|
powermenu = pkgs.writeShellScriptBin "powermenu" (builtins.readFile ./scripts/powermenu);
|
|
power-profiles = pkgs.writeShellScriptBin "power-profiles" (builtins.readFile ./scripts/power-profiles);
|
|
icon-theme = config.gtk.iconTheme.name;
|
|
in {
|
|
imports = [../gui/foot.nix ./gtk.nix];
|
|
home.packages = [powermenu power-profiles];
|
|
programs.rofi = {
|
|
enable = true;
|
|
location = "center";
|
|
pass.enable = true;
|
|
terminal = "wezterm";
|
|
extraConfig = {
|
|
modi = "drun";
|
|
icon-theme = icon-theme;
|
|
show-icons = true;
|
|
drun-display-format = "{icon} {name}";
|
|
disable-history = false;
|
|
hide-scrollbar = true;
|
|
display-run = " Run ";
|
|
};
|
|
theme = ./config/rofi/catppuccin-macchiato.rasi;
|
|
};
|
|
}
|