Compare commits

...

2 Commits

Author SHA1 Message Date
1fdda2e2da Add tofi. 2024-02-29 15:14:18 +01:00
783f275bba Fix comment 2024-02-29 15:13:33 +01:00
4 changed files with 39 additions and 1 deletions

View File

@ -25,6 +25,7 @@
./modules/alacritty.nix ./modules/alacritty.nix
./modules/newsboat.nix ./modules/newsboat.nix
./modules/helix.nix ./modules/helix.nix
./modules/tofi.nix
]; ];
# My packages # My packages

View File

@ -0,0 +1,22 @@
anchor = top
width = 100%
height = 28
horizontal = true
font-size = 12
prompt-text = "Run: "
font = CaskaydiaCove Nerd Font
history = false
require-match = false
terminal = alacritty
outline-width = 0
border-width = 0
min-input-width = 120
result-spacing = 15
padding-top = 4
padding-bottom = 0
padding-left = 5
padding-right = 5
text-color = #c6d0f5
prompt-color = #e78284
selection-color = #e5c890
background-color = #303446

View File

@ -1,6 +1,6 @@
{ inputs, pkgs, ... }: { inputs, pkgs, ... }:
{ {
# Install alacritty # Install newsboat
home.packages = [ home.packages = [
pkgs.newsboat pkgs.newsboat
]; ];

View File

@ -0,0 +1,15 @@
{ inputs, pkgs, ... }:
{
# Install tofi
home.packages = with pkgs; [
tofi
(writeShellScriptBin "tofi-pass" ''
tofi --hide-input true --prompt-text 'Password: ' --require-match false --hidden-character '.' < /dev/null
'')
];
# Setup my config file
home.file = {
".config/tofi/config".source = ./confs/tofi;
};
}