nix: Various fixes
This commit is contained in:
parent
b9974a790a
commit
3995e664d0
|
@ -241,7 +241,8 @@ in
|
|||
enable = true;
|
||||
enableZshIntegration = true;
|
||||
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
|
||||
nix-index = {
|
||||
|
|
|
@ -103,7 +103,7 @@
|
|||
# TODO Is a shell script even required?
|
||||
}";
|
||||
"${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";
|
||||
# TODO --backend not useful anymore
|
||||
# Volume control
|
||||
|
|
|
@ -17,10 +17,16 @@ in
|
|||
};
|
||||
# FIXME This doesn't work
|
||||
|
||||
fonts.monospace = {
|
||||
fonts = {
|
||||
sizes = {
|
||||
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.i3.enable = false; # I prefer my own styles
|
||||
|
|
Loading…
Reference in a new issue