feat(mpv): modernx -> modernz
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
535f286fe4
commit
e0b958627f
6 changed files with 10 additions and 10 deletions
BIN
flake.lock
BIN
flake.lock
Binary file not shown.
BIN
flake.nix
BIN
flake.nix
Binary file not shown.
|
@ -377,9 +377,9 @@ let
|
|||
|
||||
# MPV scripts
|
||||
{
|
||||
name = "modernx-src";
|
||||
owner = "cyl0";
|
||||
repo = "ModernX";
|
||||
name = "modernz-src";
|
||||
owner = "Samillion";
|
||||
repo = "ModernZ";
|
||||
}
|
||||
{
|
||||
owner = "d87";
|
||||
|
|
|
@ -23,7 +23,7 @@ in {
|
|||
scripts = attrValues {
|
||||
inherit
|
||||
(mpvScripts)
|
||||
modernx
|
||||
modernz
|
||||
persist-properties
|
||||
undo-redo
|
||||
;
|
||||
|
|
|
@ -7,7 +7,7 @@ pkgs.lib.makeScope pkgs.newScope (mpv: let
|
|||
buildLuaScript = file:
|
||||
mpv.callPackage file (inputs // {inherit buildLua;});
|
||||
in {
|
||||
modernx = buildLuaScript ./modernx.nix;
|
||||
modernz = buildLuaScript ./modernz.nix;
|
||||
pointer-event = buildLuaScript ./pointer-event.nix;
|
||||
touch-gestures = buildLuaScript ./touch-gestures.nix;
|
||||
kdialog-open-files = buildLuaScript ./kdialog-open-files.nix;
|
||||
|
|
|
@ -2,19 +2,19 @@
|
|||
buildLua,
|
||||
makeFontsConf,
|
||||
mkVersion,
|
||||
modernx-src,
|
||||
modernz-src,
|
||||
...
|
||||
}:
|
||||
buildLua (finalAttrs: {
|
||||
pname = "modernx";
|
||||
version = mkVersion modernx-src;
|
||||
pname = "modernz";
|
||||
version = mkVersion modernz-src;
|
||||
|
||||
src = modernx-src;
|
||||
src = modernz-src;
|
||||
|
||||
# Make font available to script
|
||||
postInstall = ''
|
||||
mkdir -p $out/share/fonts
|
||||
cp -r ./Material-Design-Iconic-Font.ttf $out/share/fonts
|
||||
cp -r ./fluent-system-icons.ttf $out/share/fonts
|
||||
'';
|
||||
|
||||
passthru.extraWrapperArgs = [
|
Loading…
Reference in a new issue