mirror of
https://github.com/kmein/niveum
synced 2026-03-20 12:01:06 +01:00
fix(flix): flixmenu
This commit is contained in:
@@ -88,10 +88,10 @@ in {
|
|||||||
'')
|
'')
|
||||||
(pkgs.writers.writeDashBin "flixmenu" ''
|
(pkgs.writers.writeDashBin "flixmenu" ''
|
||||||
set -efu
|
set -efu
|
||||||
cd "${flixLocation}"
|
(
|
||||||
|
${pkgs.gnused}/bin/sed 's#^\.#${flixLocation}#' ${cacheLocation}/${indexFilename}
|
||||||
cat ${cacheLocation}/${indexFilename} ${cacheLocation}/${indexFilenameNew} \
|
${pkgs.gnused}/bin/sed 's#^\.#${flixLocationNew}#' ${cacheLocation}/${indexFilenameNew}
|
||||||
| ${pkgs.dmenu}/bin/dmenu -i -p flix -l 5 "$@" \
|
) | ${pkgs.dmenu}/bin/dmenu -i -p flix -l 5 "$@" \
|
||||||
| ${pkgs.findutils}/bin/xargs -I '{}' ${pkgs.util-linux}/bin/setsid ${pkgs.xdg-utils}/bin/xdg-open '{}'
|
| ${pkgs.findutils}/bin/xargs -I '{}' ${pkgs.util-linux}/bin/setsid ${pkgs.xdg-utils}/bin/xdg-open '{}'
|
||||||
'')
|
'')
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user