nix #11
|
@ -241,7 +241,8 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
enableZshIntegration = true;
|
enableZshIntegration = true;
|
||||||
defaultOptions = [ "--height 40%" "--layout=default" ];
|
defaultOptions = [ "--height 40%" "--layout=default" ];
|
||||||
fileWidgetOptions = [ "--preview '[[ -d {} ]] && ls -l --color=always {} || [[ \$(file --mime {}) =~ binary ]] && file --brief {} || (highlight -O ansi -l {} || coderay {} || rougify {} || cat {}) 2> /dev/null | head -500'" ];
|
fileWidgetOptions = [ "--preview '[[ -d {} ]] && ${pkgs.coreutils}/bin/ls -l --color=always {} || [[ \$(${pkgs.file}/bin/file --mime {}) =~ binary ]] && ${pkgs.file}/bin/file --brief {} || (${pkgs.highlight}/bin/highlight -O ansi -l {} || coderay {} || rougify {} || ${pkgs.coreutils}/bin/cat {}) 2> /dev/null | head -500'" ];
|
||||||
|
# file and friends are not in PATH by default... so here we want aboslute paths, which means those won't get reloaded. Meh.
|
||||||
};
|
};
|
||||||
# TODO highlight or bat
|
# TODO highlight or bat
|
||||||
nix-index = {
|
nix-index = {
|
||||||
|
|
|
@ -103,7 +103,7 @@
|
||||||
# TODO Is a shell script even required?
|
# TODO Is a shell script even required?
|
||||||
}";
|
}";
|
||||||
"${mod}+Shift+Return" = "exec ${config.programs.urxvt.package}/bin/urxvt";
|
"${mod}+Shift+Return" = "exec ${config.programs.urxvt.package}/bin/urxvt";
|
||||||
"${mod}+p" = "exec ${pkgs.xfce.thunar}/bin/tunar";
|
"${mod}+p" = "exec ${pkgs.xfce.thunar}/bin/thunar";
|
||||||
"${mod}+m" = "exec ${config.programs.qutebrowser.package}/bin/qutebrowser --override-restore --backend=webengine";
|
"${mod}+m" = "exec ${config.programs.qutebrowser.package}/bin/qutebrowser --override-restore --backend=webengine";
|
||||||
# TODO --backend not useful anymore
|
# TODO --backend not useful anymore
|
||||||
# Volume control
|
# Volume control
|
||||||
|
|
|
@ -17,9 +17,15 @@ in
|
||||||
};
|
};
|
||||||
# FIXME This doesn't work
|
# FIXME This doesn't work
|
||||||
|
|
||||||
fonts.monospace = {
|
fonts = {
|
||||||
package = pkgs.nerdfonts;
|
sizes = {
|
||||||
name = "DejaVuSansM Nerd Font";
|
applications = 10;
|
||||||
|
terminal = 10;
|
||||||
|
};
|
||||||
|
monospace = {
|
||||||
|
package = pkgs.nerdfonts;
|
||||||
|
name = "DejaVuSansM Nerd Font";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
targets.vim.enable = false; # FIXME Not compatible with nixvim for now (there's a MR)
|
targets.vim.enable = false; # FIXME Not compatible with nixvim for now (there's a MR)
|
||||||
|
|
Loading…
Reference in a new issue