support for gnome desktop

This commit is contained in:
Leonardo Eugênio 2022-11-07 11:24:40 -03:00
parent 0a1647e0e7
commit f7b9c71006
18 changed files with 155 additions and 143 deletions

View file

@ -1,5 +1,6 @@
{ config, pkgs, lib, inputs, ... }:
let inherit (import ./variables.nix) key theme color accent font;
let
inherit (import ./variables.nix) key theme color accent font;
colors = {
"bg+" = color.bg_light;
@ -21,14 +22,13 @@ in {
enable = true;
fileWidgetCommand = "${pkgs.fd}/bin/fd --type f";
fileWidgetOptions = [ "--preview '${pkgs.bat}/bin/bat --style=numbers --color=always {}'" ];
fileWidgetOptions =
[ "--preview '${pkgs.bat}/bin/bat --style=numbers --color=always {}'" ];
changeDirWidgetCommand = "${pkgs.fd}/bin/fd --type d";
changeDirWidgetOptions = [ "--preview '${pkgs.exa}/bin/exa -T L3 | head -200'" ];
changeDirWidgetOptions =
[ "--preview '${pkgs.exa}/bin/exa -T L3 | head -200'" ];
defaultOptions = [
color_opts
preview_opts
];
defaultOptions = [ color_opts preview_opts ];
};
}