cleanup and rename
All checks were successful
Activate Homelab Configuration / rebuild (push) Successful in 30s
All checks were successful
Activate Homelab Configuration / rebuild (push) Successful in 30s
This commit is contained in:
parent
c71da44119
commit
ee28bb7c42
15 changed files with 71 additions and 73 deletions
42
modules/home/rice/menu.nix
Normal file
42
modules/home/rice/menu.nix
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
{ config, pkgs, rice, ctp-opt, ... }: {
|
||||
programs.rofi = {
|
||||
enable = true;
|
||||
terminal = "${pkgs.kitty}/bin/kitty";
|
||||
# location = "top";
|
||||
# yoffset = 10;
|
||||
theme = let inherit (config.lib.formats.rasi) mkLiteral; in {
|
||||
"entry".placeholder = "Search...";
|
||||
"scrollbar".border-radius = rice.borders.rounded;
|
||||
# "element-icon".size = mkLiteral "2em";
|
||||
"*" = {
|
||||
font = "${rice.font} 12";
|
||||
normal-foreground = mkLiteral "@text";
|
||||
alternate-normal-foreground = mkLiteral "@text";
|
||||
foreground = mkLiteral "@${ctp-opt.accent}";
|
||||
border-color = mkLiteral (if rice.borders.colored then "@foreground" else "@overlay0");
|
||||
};
|
||||
"window" = {
|
||||
border-radius = rice.borders.rounded;
|
||||
border = rice.borders.size;
|
||||
# fullscreen = true;
|
||||
};
|
||||
"listview" = {
|
||||
columns = 2; # 3;
|
||||
lines = 9; # 3;
|
||||
fixed-columns = false;
|
||||
};
|
||||
"element" = {
|
||||
border-radius = rice.borders.rounded;
|
||||
padding = mkLiteral "4px";
|
||||
spacing = mkLiteral "8px";
|
||||
# orientation = mkLiteral "vertical";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
rofi-network-manager
|
||||
rofi-power-menu
|
||||
rofi
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue