Init tofi

This commit is contained in:
Hadi 2024-10-14 22:20:39 +02:00
parent 95248322f7
commit 059acab3f9
2 changed files with 9 additions and 6 deletions

View File

@ -1,14 +1,16 @@
{ config, ... }: # TODO: Tofi configuration
{ config, lib, ... }:
let let
background = "#${config.lib.stylix.colors.base00}"; background = "#${config.lib.stylix.colors.base00}70";
font = "${config.stylix.fonts.serif.name}"; accent = "#${config.lib.stylix.colors.base0D}";
in { in {
programs.tofi = { programs.tofi = lib.mkForce {
enable = true; enable = true;
settings = { settings = {
background-color = background;
border-width = 0; border-width = 0;
font = font; background-color = background;
prompt-color = accent;
selection-color = accent;
height = "100%"; height = "100%";
num-results = 5; num-results = 5;
outline-width = 0; outline-width = 0;

View File

@ -34,6 +34,7 @@
../../home/system/udiskie ../../home/system/udiskie
../../home/system/clipman ../../home/system/clipman
../../home/system/kdeconnect ../../home/system/kdeconnect
../../home/system/tofi
./secrets # CHANGEME: You should probably remove this line, this is where I store my secrets ./secrets # CHANGEME: You should probably remove this line, this is where I store my secrets
]; ];