2023-08-07 09:19:09 +01:00
|
|
|
{ pkgs, config, ... }:
|
2023-09-11 13:46:52 +01:00
|
|
|
let
|
|
|
|
icon-theme = config.gtk.iconTheme.name;
|
|
|
|
power-menu = "power-menu:${pkgs.rofi-power-menu}/bin/rofi-power-menu";
|
2023-08-08 17:00:35 +01:00
|
|
|
in {
|
2023-09-11 08:28:50 +01:00
|
|
|
home.packages = with pkgs; [ rofi-power-menu libqalculate ];
|
2023-04-03 16:53:23 +01:00
|
|
|
programs.rofi = {
|
|
|
|
enable = true;
|
2023-07-18 09:26:10 +01:00
|
|
|
location = "center";
|
2023-04-03 16:53:23 +01:00
|
|
|
pass.enable = true;
|
2023-09-11 08:28:50 +01:00
|
|
|
plugins = with pkgs; [ rofi-calc ];
|
2023-04-07 09:42:12 +01:00
|
|
|
extraConfig = {
|
2023-09-11 13:46:52 +01:00
|
|
|
modi = "window,run,drun,ssh,filebrowser,calc,${power-menu},combi";
|
2023-09-11 08:28:50 +01:00
|
|
|
combi-modi = "window,drun,ssh,filebrowser";
|
2023-07-18 10:11:38 +01:00
|
|
|
sort = true;
|
|
|
|
sorting-method = "fzf";
|
|
|
|
matching = "fuzzy";
|
2023-06-20 15:26:07 +01:00
|
|
|
icon-theme = icon-theme;
|
2023-04-07 09:42:12 +01:00
|
|
|
show-icons = true;
|
2023-07-18 10:11:38 +01:00
|
|
|
application-fallback-icon = "";
|
2023-04-07 09:42:12 +01:00
|
|
|
drun-display-format = "{icon} {name}";
|
|
|
|
disable-history = false;
|
|
|
|
hide-scrollbar = true;
|
2023-09-12 06:24:56 +01:00
|
|
|
display-window = " Move ";
|
|
|
|
display-run = " Run ";
|
|
|
|
display-drun = " Launch ";
|
|
|
|
display-ssh = " SSH ";
|
|
|
|
display-filebrowser = " Files ";
|
|
|
|
display-calc = " Calculator ";
|
|
|
|
display-combi = " Combi ";
|
2023-04-07 09:42:12 +01:00
|
|
|
};
|
2023-09-12 06:24:56 +01:00
|
|
|
theme = ./theme.rasi
|
|
|
|
|
|
|
|
;
|
2023-04-03 16:53:23 +01:00
|
|
|
};
|
|
|
|
}
|