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 22 additions and 22 deletions
18
flake.lock
generated
18
flake.lock
generated
|
@ -1012,19 +1012,19 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"modernx-src": {
|
||||
"modernz-src": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1712549438,
|
||||
"narHash": "sha256-q7DwyfmOIM7K1L7vvCpq1EM0RVpt9E/drhAa9rLYb1k=",
|
||||
"owner": "cyl0",
|
||||
"repo": "ModernX",
|
||||
"rev": "3f2ed6b993059c6986bf34be3998048c50547187",
|
||||
"lastModified": 1738280123,
|
||||
"narHash": "sha256-OQfcqciYgBVTgPMG78ncgT+PZi3GYrLkB1O38qQLjtk=",
|
||||
"owner": "Samillion",
|
||||
"repo": "ModernZ",
|
||||
"rev": "b38043da940e3809501ea5549638adc91c5b428e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "cyl0",
|
||||
"repo": "ModernX",
|
||||
"owner": "Samillion",
|
||||
"repo": "ModernZ",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
|
@ -1722,7 +1722,7 @@
|
|||
"material-rounded-theme-src": "material-rounded-theme-src",
|
||||
"material-symbols-src": "material-symbols-src",
|
||||
"minix": "minix",
|
||||
"modernx-src": "modernx-src",
|
||||
"modernz-src": "modernz-src",
|
||||
"mpv-persist-properties-src": "mpv-persist-properties-src",
|
||||
"mpv-pointer-event-src": "mpv-pointer-event-src",
|
||||
"mpv-touch-gestures-src": "mpv-touch-gestures-src",
|
||||
|
|
|
@ -240,10 +240,10 @@
|
|||
repo = "Minix";
|
||||
type = "github";
|
||||
};
|
||||
modernx-src = {
|
||||
modernz-src = {
|
||||
flake = false;
|
||||
owner = "cyl0";
|
||||
repo = "ModernX";
|
||||
owner = "Samillion";
|
||||
repo = "ModernZ";
|
||||
type = "github";
|
||||
};
|
||||
mpv-persist-properties-src = {
|
||||
|
|
|
@ -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…
Add table
Reference in a new issue