diff options
| author | Miran Bastaja <miran.bastaja04@gmail.com> | 2024-04-06 20:08:58 +0200 |
|---|---|---|
| committer | Miran Bastaja <miran.bastaja04@gmail.com> | 2024-04-06 20:39:25 +0200 |
| commit | 661d4964d99a0a5cbab358643c6a271422e0d001 (patch) | |
| tree | 9ebc3d6316a1333a39b9817acb3753d8cdbfff7f /share/home/tofi.nix | |
| parent | 1c716c86fd1f038e2e0a566593ba04676628b5e8 (diff) | |
Programming Feng Shui praxis
Diffstat (limited to 'share/home/tofi.nix')
| -rw-r--r-- | share/home/tofi.nix | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/share/home/tofi.nix b/share/home/tofi.nix deleted file mode 100644 index b0a7a89..0000000 --- a/share/home/tofi.nix +++ /dev/null @@ -1,39 +0,0 @@ -# IMPORTANT: this is the config for a custom module that's located at -# /share/hm-modules/tofi.nix. In order to use this config you have to also -# import that module. -{ lib, config, ... }: { - - # Tofi's cache seems to get messed up sometimes, so we regenerate it when - # building the system. - # https://github.com/philj56/tofi/issues/115#issuecomment-1701748297 - home.activation = { - regenerateTofiCache = lib.hm.dag.entryAfter [ "writeBoundary" ] '' - tofi_cache=${config.xdg.cacheHome}/tofi-drun - [[ -f "$tofi_cache" ]] && rm "$tofi_cache" - ''; - }; - - programs.tofi = { - enable = true; - settings = { - anchor = "top"; - width = "100%"; - height = 30; - horizontal = true; - font-size = 14; - prompt-text = " run: "; - font = "monospace"; - outline-width = 0; - border-width = 0; - background-color = "#000000"; - min-input-width = 120; - result-spacing = 15; - padding-top = 0; - padding-right = 0; - padding-bottom = 0; - padding-left = 0; - drun-launch = true; - terminal = "kitty"; - }; - }; -} |
