nix-config/home/desktop-sway/wofi.nix

58 lines
932 B
Nix
Raw Normal View History

2022-01-18 09:32:55 +01:00
{ config, pkgs, ... }:
let
wofi_pass = pkgs.callPackage ./wofi-pass.nix { inherit config pkgs; };
in
{
home.packages = [ pkgs.wofi wofi_pass ];
home.file.".config/wofi/style.css".text = ''
* {
font-family: Inter;
}
#outer-box {
border: 2px solid #458588;
padding: 5px;
padding-bottom: 0px;
}
window {
background-color: rgba(40, 40, 40, 0.9);
}
#entry {
border-radius: 0px;
}
#input {
border-radius: 0px;
background-color: #282828;
border: none;
border-bottom: 1px solid #928374;
margin-bottom: 5px;
background-color: transparent;
}
#entry:selected {
background-color: rgba(69, 133, 136, 0.9);
}
#text {
color: #ebdbb2;
}
#text:selected {
background-color: transparent;
color: #fbf1c7;
}
#scroll {
margin: 0px;
border: none;
}
'';
}