refactor: inputs/ --> {sys,home}/
This commit is contained in:
parent
8f22a24963
commit
f77c627980
225 changed files with 77 additions and 88 deletions
42
home/modules/desktop/wayland/launcher/tofi/default.nix
Normal file
42
home/modules/desktop/wayland/launcher/tofi/default.nix
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
{ lib, config, pkgs, ... }:
|
||||
|
||||
let
|
||||
cfg = config.homeModules.desktop.wayland.launcher.tofi;
|
||||
fonts = config.homeModules.theme.fonts;
|
||||
inherit (config.colorscheme) palette;
|
||||
in
|
||||
|
||||
{
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
home.packages = [pkgs.tofi];
|
||||
xdg.configFile."tofi/config".text = /* config */ ''
|
||||
history = false
|
||||
clip-to-padding = false
|
||||
horizontal = true
|
||||
width = 40%
|
||||
height = 35
|
||||
anchor = top-left
|
||||
margin-top = 5
|
||||
margin-left = 25%
|
||||
num-results = 1
|
||||
border-width = 0
|
||||
outline-width = 0
|
||||
result-spacing = 10
|
||||
selection-background-padding = 30
|
||||
prompt-padding = 10
|
||||
font = "${fonts.monospace.family}"
|
||||
font-size = 14
|
||||
prompt-text = " "
|
||||
background-color = #0000
|
||||
prompt-background = #0000
|
||||
prompt-color = ${palette.base0B}
|
||||
input-color = ${palette.base05}
|
||||
placeholder-color = ${palette.base03}
|
||||
default-result-color = ${palette.base03}
|
||||
selection-color = ${palette.base04}
|
||||
'';
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue