Add urxvt plugins + tools for ranger preview
This commit is contained in:
parent
1a8ccc0c7a
commit
c4ebe75fe5
2 changed files with 14 additions and 1 deletions
|
|
@ -55,7 +55,7 @@
|
||||||
# install a rare browser, you probably use it. Firefox/konqueror/w3m on the
|
# install a rare browser, you probably use it. Firefox/konqueror/w3m on the
|
||||||
# other hand are often only installed as fallback browsers.
|
# other hand are often only installed as fallback browsers.
|
||||||
|
|
||||||
ext x?html?, has waterfox, X, flag f = waterfox -- "$@"
|
ext x?html?, has firefox, X, flag f = firefox -- "$@"
|
||||||
ext x?html?, has surf, X, flag f = surf -- file://"$1"
|
ext x?html?, has surf, X, flag f = surf -- file://"$1"
|
||||||
ext x?html?, has vimprobable, X, flag f = vimprobable -- "$@"
|
ext x?html?, has vimprobable, X, flag f = vimprobable -- "$@"
|
||||||
ext x?html?, has vimprobable2, X, flag f = vimprobable2 -- "$@"
|
ext x?html?, has vimprobable2, X, flag f = vimprobable2 -- "$@"
|
||||||
|
|
|
||||||
|
|
@ -34,6 +34,11 @@
|
||||||
scrot
|
scrot
|
||||||
i3lock
|
i3lock
|
||||||
numix-gtk-theme
|
numix-gtk-theme
|
||||||
|
|
||||||
|
# Ranger preview utils
|
||||||
|
w3m
|
||||||
|
xclip
|
||||||
|
odt2txt
|
||||||
];
|
];
|
||||||
home.keyboard = {
|
home.keyboard = {
|
||||||
layout = "fr";
|
layout = "fr";
|
||||||
|
|
@ -88,12 +93,18 @@
|
||||||
|
|
||||||
programs.urxvt = {
|
programs.urxvt = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
package = pkgs.rxvt_unicode-with-plugins;
|
||||||
fonts = ["xft:monospace:size=12:antialias=true"];
|
fonts = ["xft:monospace:size=12:antialias=true"];
|
||||||
scroll = {
|
scroll = {
|
||||||
bar.enable = false;
|
bar.enable = false;
|
||||||
lines = 65535;
|
lines = 65535;
|
||||||
};
|
};
|
||||||
|
keybindings = {
|
||||||
|
"Shift-Control-C" = "eval:selection_to_clipboard";
|
||||||
|
"Shift-Control-V" = "eval:paste_clipboard";
|
||||||
|
};
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
|
"perl-ext-common" = "default,clipboard,matcher,resize-font";
|
||||||
"background" = "rgba:28ff/28ff/28ff/cf00";
|
"background" = "rgba:28ff/28ff/28ff/cf00";
|
||||||
"foreground" = "#ebdbb2";
|
"foreground" = "#ebdbb2";
|
||||||
"color0" = "#282828";
|
"color0" = "#282828";
|
||||||
|
|
@ -116,6 +127,8 @@
|
||||||
"letterSpace" = "-1";
|
"letterSpace" = "-1";
|
||||||
"internalBorder" = "10";
|
"internalBorder" = "10";
|
||||||
"depth" = "32";
|
"depth" = "32";
|
||||||
|
"resize-font.smaller" = "C-Down";
|
||||||
|
"resize-font.bigger" = "C-Up";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue