rofi: patch the filebrowser to reliably list entries on remote filesystems
see: <https://github.com/davatorium/rofi/issues/1954>
This commit is contained in:
parent
bd4eeeeb3b
commit
7a65bd36c7
|
@ -12,12 +12,16 @@ configuration {
|
|||
kb-row-up: "Up,XF86AudioRaiseVolume";
|
||||
kb-row-down: "Down,XF86AudioLowerVolume";
|
||||
filebrowser {
|
||||
/* filebrowser starting directory */
|
||||
/* directory: filebrowser starting directory. leave unset to start at the last directory. */
|
||||
directory: "/home";
|
||||
/* display-name: text to prepend in combi mode */
|
||||
display-name: "/";
|
||||
/* `command` is the prefix to prepend (along with a space) *before* passing it off to `run-command` */
|
||||
command: "xdg-open";
|
||||
directories-first: true;
|
||||
/* sorting-method: name/atime/ctime/mtime */
|
||||
sorting-method: "name";
|
||||
show-hidden: false;
|
||||
}
|
||||
drun {
|
||||
display-name: " ";
|
||||
|
|
|
@ -32,8 +32,8 @@ let
|
|||
repo = "rofi";
|
||||
fetchSubmodules = true;
|
||||
# rev = "dev-sane"; #< fetchFromGitea doesn't support tags (?)
|
||||
rev = "1edfceaeefa2cae971ae90dc55811f3b7592a1b4";
|
||||
hash = "sha256-oIWLwec1LRsss12S92ebBWQk14FBJWc6QcYxzOU3eFI=";
|
||||
rev = "57e8562f8a8d42780aa7518c92175298996bc344";
|
||||
hash = "sha256-PPvWeM2LUKW5e2HQtsXepizJ69PHYRd2ch6BcP6IERE=";
|
||||
};
|
||||
# patches = (upstream.patches or []) ++ [
|
||||
# (pkgs.fetchpatch {
|
||||
|
@ -47,6 +47,10 @@ let
|
|||
# # plugins must be compiled against the same rofi they're loaded by
|
||||
# inherit rofi-unwrapped;
|
||||
# };
|
||||
# rofi-file-browser = pkgs.rofi-file-browser.override {
|
||||
# # plugins must be compiled against the same rofi they're loaded by
|
||||
# rofi = rofi-unwrapped;
|
||||
# };
|
||||
in
|
||||
{
|
||||
sane.programs.rofi = {
|
||||
|
@ -54,8 +58,15 @@ in
|
|||
# it's actively maintained though, and more of an overlay than a true fork.
|
||||
packageUnwrapped = pkgs.rofi-wayland.override {
|
||||
inherit rofi-unwrapped;
|
||||
# rofi-emoji: "insert" mode doesn't work; use a wrapper like `splatmoji` instead.
|
||||
# plugins = [ rofi-emoji ];
|
||||
plugins = [
|
||||
# rofi-[extended-]-file-browser: <https://github.com/marvinkreis/rofi-file-browser-extended>
|
||||
# because the builtin rofi filebrowser only partially lists ~/Videos/servo/Shows, seemingly at random.
|
||||
# but rofi-file-browser doesn't compile against my patched rofi (oops)
|
||||
# rofi-file-browser
|
||||
|
||||
# rofi-emoji: "insert" mode doesn't work; use a wrapper like `splatmoji` instead.
|
||||
# rofi-emoji
|
||||
];
|
||||
};
|
||||
|
||||
suggestedPrograms = [
|
||||
|
|
Loading…
Reference in New Issue
Block a user