feat: add tofi module

This commit is contained in:
Moritz Böhme 2024-03-24 13:15:17 +01:00
parent ac9b136e6c
commit 006c4394f3
No known key found for this signature in database
GPG key ID: 970C6E89EB0547A9
5 changed files with 67 additions and 1 deletions

View file

@ -31,6 +31,12 @@
}:
{
my.programs.tofi.settings = {
text-color = "#${text}";
prompt-color = "#${red}";
selection-color = "#${yellow}";
background-color = "#${base}";
};
home-manager.users.moritz = {
programs = {
fzf.colors = {

View file

@ -31,6 +31,20 @@ in
};
config = mkIf cfg.enable {
my.programs.tofi.settings = {
font-size = "20";
font =
let
fontBasePath = pkgs.nerdfonts.override {
fonts = [ "FiraCode" ];
};
in
"${fontBasePath}/share/fonts/truetype/NerdFonts/FiraCodeNerdFont-Regular.ttf";
height = "360";
width = "720";
outline-width = "0";
border-width = "0";
};
home-manager.users.moritz = {
services.polybar = {
config = {