initial
This commit is contained in:
28
hosts/dunamis/users/user/desktop/sway/fuzzel.nix
Normal file
28
hosts/dunamis/users/user/desktop/sway/fuzzel.nix
Normal file
@ -0,0 +1,28 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
options = {
|
||||
fuzzel.enable =
|
||||
lib.mkEnableOption "enable fuzzel launcher";
|
||||
};
|
||||
config = lib.mkIf config.fuzzel.enable {
|
||||
programs.fuzzel = {
|
||||
enable = true;
|
||||
settings = {
|
||||
main = {
|
||||
terminal = "${pkgs.wezterm}/bin/wezterm -e";
|
||||
fields = "filename,name,generic,keywords,categories,exec";
|
||||
match-mode = "fuzzy";
|
||||
icon-theme = "${config.dconf.settings."org/gnome/desktop/interface".icon-theme}";
|
||||
};
|
||||
border = {
|
||||
width = 4;
|
||||
radius = 12;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user