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
|
# MPV scripts
|
||||||
{
|
{
|
||||||
name = "modernx-src";
|
name = "modernz-src";
|
||||||
owner = "cyl0";
|
owner = "Samillion";
|
||||||
repo = "ModernX";
|
repo = "ModernZ";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
owner = "d87";
|
owner = "d87";
|
||||||
|
|
|
@ -23,7 +23,7 @@ in {
|
||||||
scripts = attrValues {
|
scripts = attrValues {
|
||||||
inherit
|
inherit
|
||||||
(mpvScripts)
|
(mpvScripts)
|
||||||
modernx
|
modernz
|
||||||
persist-properties
|
persist-properties
|
||||||
undo-redo
|
undo-redo
|
||||||
;
|
;
|
||||||
|
|
|
@ -7,7 +7,7 @@ pkgs.lib.makeScope pkgs.newScope (mpv: let
|
||||||
buildLuaScript = file:
|
buildLuaScript = file:
|
||||||
mpv.callPackage file (inputs // {inherit buildLua;});
|
mpv.callPackage file (inputs // {inherit buildLua;});
|
||||||
in {
|
in {
|
||||||
modernx = buildLuaScript ./modernx.nix;
|
modernz = buildLuaScript ./modernz.nix;
|
||||||
pointer-event = buildLuaScript ./pointer-event.nix;
|
pointer-event = buildLuaScript ./pointer-event.nix;
|
||||||
touch-gestures = buildLuaScript ./touch-gestures.nix;
|
touch-gestures = buildLuaScript ./touch-gestures.nix;
|
||||||
kdialog-open-files = buildLuaScript ./kdialog-open-files.nix;
|
kdialog-open-files = buildLuaScript ./kdialog-open-files.nix;
|
||||||
|
|
|
@ -2,19 +2,19 @@
|
||||||
buildLua,
|
buildLua,
|
||||||
makeFontsConf,
|
makeFontsConf,
|
||||||
mkVersion,
|
mkVersion,
|
||||||
modernx-src,
|
modernz-src,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
buildLua (finalAttrs: {
|
buildLua (finalAttrs: {
|
||||||
pname = "modernx";
|
pname = "modernz";
|
||||||
version = mkVersion modernx-src;
|
version = mkVersion modernz-src;
|
||||||
|
|
||||||
src = modernx-src;
|
src = modernz-src;
|
||||||
|
|
||||||
# Make font available to script
|
# Make font available to script
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mkdir -p $out/share/fonts
|
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 = [
|
passthru.extraWrapperArgs = [
|
Loading…
Reference in a new issue