2023-05-17 17:10:18 +01:00
|
|
|
{pkgs, ...}: let
|
2023-06-06 07:19:17 +01:00
|
|
|
logout-utility = pkgs.writeShellScriptBin "logout-utility" (builtins.readFile ./scripts/logout-utility);
|
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 {
|
2023-05-24 08:30:30 +01:00
|
|
|
imports = [../gui/foot.nix ./gtk.nix];
|
2023-06-06 07:19:17 +01:00
|
|
|
home.packages = [logout-utility 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-06-02 11:51:08 +01:00
|
|
|
terminal = "wezterm";
|
2023-04-07 09:42:12 +01:00
|
|
|
plugins = with pkgs; [
|
|
|
|
rofi-calc
|
|
|
|
];
|
|
|
|
extraConfig = {
|
2023-06-06 07:12:27 +01:00
|
|
|
modi = "drun";
|
2023-06-02 11:51:08 +01:00
|
|
|
icon-theme = "Sweet-Rainbow";
|
2023-04-07 09:42:12 +01:00
|
|
|
show-icons = true;
|
|
|
|
drun-display-format = "{icon} {name}";
|
|
|
|
disable-history = false;
|
|
|
|
hide-scrollbar = true;
|
2023-06-06 07:12:27 +01:00
|
|
|
# display-drun = " Apps ";
|
2023-04-07 09:42:12 +01:00
|
|
|
display-run = " Run ";
|
2023-06-06 07:12:27 +01:00
|
|
|
# display-window = " Window";
|
|
|
|
# display-calc = " √ Calculator";
|
|
|
|
# sidebar-mode = true;
|
2023-04-07 09:42:12 +01:00
|
|
|
};
|
|
|
|
theme = ./config/rofi/catppuccin-macchiato.rasi;
|
2023-04-03 16:53:23 +01:00
|
|
|
};
|
|
|
|
}
|