Skip to content

Commit

Permalink
Init tofi
Browse files Browse the repository at this point in the history
  • Loading branch information
anotherhadi committed Oct 14, 2024
1 parent 9524832 commit 059acab
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
14 changes: 8 additions & 6 deletions home/system/tofi/default.nix
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
{ config, ... }:
# TODO: Tofi configuration
{ config, lib, ... }:
let
background = "#${config.lib.stylix.colors.base00}";
font = "${config.stylix.fonts.serif.name}";
background = "#${config.lib.stylix.colors.base00}70";
accent = "#${config.lib.stylix.colors.base0D}";
in {
programs.tofi = {
programs.tofi = lib.mkForce {
enable = true;
settings = {
background-color = background;
border-width = 0;
font = font;
background-color = background;
prompt-color = accent;
selection-color = accent;
height = "100%";
num-results = 5;
outline-width = 0;
Expand Down
1 change: 1 addition & 0 deletions hosts/laptop/home.nix
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
../../home/system/udiskie
../../home/system/clipman
../../home/system/kdeconnect
../../home/system/tofi

./secrets # CHANGEME: You should probably remove this line, this is where I store my secrets
];
Expand Down

0 comments on commit 059acab

Please sign in to comment.