2023-05-17 17:10:18 +01:00
|
|
|
{pkgs, ...}: let
|
2023-05-16 10:06:23 +01:00
|
|
|
powermenu = pkgs.writeShellScriptBin "powermenu" (builtins.readFile ./scripts/powermenu);
|
|
|
|
power-profiles = pkgs.writeShellScriptBin "power-profiles" (builtins.readFile ./scripts/power-profiles);
|
2023-05-17 17:10:18 +01:00
|
|
|
in {
|
|
|
|
imports = [../gui/foot.nix];
|
|
|
|
home.packages = with pkgs; [papirus-icon-theme powermenu power-profiles];
|
2023-04-03 16:53:23 +01:00
|
|
|
programs.rofi = {
|
|
|
|
enable = true;
|
2023-04-07 09:42:12 +01:00
|
|
|
location = "center";
|
2023-04-03 16:53:23 +01:00
|
|
|
pass.enable = true;
|
2023-04-26 15:25:40 +01:00
|
|
|
terminal = "\${pkgs.foot}/bin/foot";
|
2023-04-07 09:42:12 +01:00
|
|
|
plugins = with pkgs; [
|
|
|
|
rofi-calc
|
|
|
|
];
|
|
|
|
extraConfig = {
|
2023-04-12 15:46:43 +01:00
|
|
|
modi = "run,drun,calc";
|
2023-04-29 18:00:03 +01:00
|
|
|
icon-theme = "Papirus";
|
2023-04-07 09:42:12 +01:00
|
|
|
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;
|
2023-04-03 16:53:23 +01:00
|
|
|
};
|
|
|
|
}
|