2024-04-28 11:35:35 +02:00
|
|
|
{ pkgs, lib, ... }: {
|
|
|
|
|
|
|
|
home-manager.users.grape.programs.rofi = {
|
|
|
|
enable = true;
|
|
|
|
font = "Jetbrains Mono";
|
2024-07-13 17:48:39 +02:00
|
|
|
theme = "/home/grape/.config/rofi/theme.rasi";
|
2024-06-11 20:09:58 +02:00
|
|
|
plugins = with pkgs; [
|
|
|
|
rofi-calc
|
|
|
|
rofi-emoji
|
|
|
|
];
|
2024-04-28 11:35:35 +02:00
|
|
|
};
|
2024-07-13 17:48:39 +02:00
|
|
|
|
|
|
|
home-manager.users.grape.home.file.".config/rofi/theme.rasi" = {
|
|
|
|
enable = true;
|
|
|
|
text = ''
|
|
|
|
/*******************************************************************************
|
|
|
|
* MACOS SPOTLIGHT LIKE DARK THEME FOR ROFI
|
|
|
|
* User : LR-Tech
|
|
|
|
* Theme Repo : https://github.com/lr-tech/rofi-themes-collection
|
|
|
|
*******************************************************************************/
|
|
|
|
|
|
|
|
* {
|
|
|
|
font: "JetBrains Mono Nerd 12";
|
|
|
|
|
|
|
|
bg0: #191830;
|
|
|
|
bg1: #7E7E7E80;
|
|
|
|
bg2: #FAD000;
|
|
|
|
|
|
|
|
fg0: #DEDEDE;
|
|
|
|
fg1: #FFFFFF;
|
|
|
|
fg2: #DEDEDE80;
|
|
|
|
|
|
|
|
background-color: transparent;
|
|
|
|
text-color: @fg0;
|
|
|
|
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
spacing: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
window {
|
|
|
|
background-color: @bg0;
|
|
|
|
|
|
|
|
location: center;
|
|
|
|
width: 640;
|
|
|
|
border-radius: 8;
|
|
|
|
}
|
|
|
|
|
|
|
|
inputbar {
|
|
|
|
font: "Montserrat 20";
|
|
|
|
padding: 12px;
|
|
|
|
spacing: 12px;
|
|
|
|
children: [ icon-search, entry ];
|
|
|
|
}
|
|
|
|
|
|
|
|
icon-search {
|
|
|
|
expand: false;
|
|
|
|
filename: "search";
|
|
|
|
size: 28px;
|
|
|
|
}
|
|
|
|
|
|
|
|
icon-search, entry, element-icon, element-text {
|
|
|
|
vertical-align: 0.5;
|
|
|
|
}
|
|
|
|
|
|
|
|
entry {
|
|
|
|
font: inherit;
|
|
|
|
|
|
|
|
placeholder : "Search";
|
|
|
|
placeholder-color : @fg2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message {
|
|
|
|
border: 2px 0 0;
|
|
|
|
border-color: @bg1;
|
|
|
|
background-color: @bg1;
|
|
|
|
}
|
|
|
|
|
|
|
|
textbox {
|
|
|
|
padding: 8px 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
listview {
|
|
|
|
lines: 10;
|
|
|
|
columns: 1;
|
|
|
|
|
|
|
|
fixed-height: false;
|
|
|
|
border: 1px 0 0;
|
|
|
|
border-color: @bg1;
|
|
|
|
}
|
|
|
|
|
|
|
|
element {
|
|
|
|
padding: 8px 16px;
|
|
|
|
spacing: 16px;
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
element normal active {
|
|
|
|
text-color: @bg2;
|
|
|
|
}
|
|
|
|
|
|
|
|
element alternate active {
|
|
|
|
text-color: @bg2;
|
|
|
|
}
|
|
|
|
|
|
|
|
element selected normal, element selected active {
|
|
|
|
background-color: @bg2;
|
|
|
|
text-color: @fg1;
|
|
|
|
}
|
|
|
|
|
|
|
|
element-icon {
|
|
|
|
size: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
element-text {
|
|
|
|
text-color: inherit;
|
|
|
|
}
|
|
|
|
'';
|
|
|
|
};
|
2024-04-28 11:35:35 +02:00
|
|
|
}
|