31 lines
931 B
Nix
31 lines
931 B
Nix
{pkgs, ...}: let
|
|
powermenu = pkgs.writeShellScriptBin "powermenu" (builtins.readFile ./scripts/powermenu);
|
|
power-profiles = pkgs.writeShellScriptBin "power-profiles" (builtins.readFile ./scripts/power-profiles);
|
|
in {
|
|
imports = [../gui/foot.nix ./gtk.nix];
|
|
home.packages = [powermenu power-profiles];
|
|
programs.rofi = {
|
|
enable = true;
|
|
location = "center";
|
|
pass.enable = true;
|
|
terminal = "wezterm";
|
|
plugins = with pkgs; [
|
|
rofi-calc
|
|
];
|
|
extraConfig = {
|
|
modi = "run,drun,calc";
|
|
icon-theme = "Sweet-Rainbow";
|
|
show-icons = true;
|
|
drun-display-format = "{icon} {name}";
|
|
disable-history = false;
|
|
hide-scrollbar = true;
|
|
display-drun = " Apps ";
|
|
display-run = " Run ";
|
|
display-window = " Window";
|
|
display-calc = " √ Calculator";
|
|
sidebar-mode = true;
|
|
};
|
|
theme = ./config/rofi/catppuccin-macchiato.rasi;
|
|
};
|
|
}
|