Compare commits
2 Commits
c555e598b5
...
1fdda2e2da
Author | SHA1 | Date | |
---|---|---|---|
1fdda2e2da | |||
783f275bba |
@ -25,6 +25,7 @@
|
||||
./modules/alacritty.nix
|
||||
./modules/newsboat.nix
|
||||
./modules/helix.nix
|
||||
./modules/tofi.nix
|
||||
];
|
||||
|
||||
# My packages
|
||||
|
22
home-manager/modules/confs/tofi
Normal file
22
home-manager/modules/confs/tofi
Normal 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
|
@ -1,6 +1,6 @@
|
||||
{ inputs, pkgs, ... }:
|
||||
{
|
||||
# Install alacritty
|
||||
# Install newsboat
|
||||
home.packages = [
|
||||
pkgs.newsboat
|
||||
];
|
||||
|
15
home-manager/modules/tofi.nix
Normal file
15
home-manager/modules/tofi.nix
Normal 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;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user